String Gadgets HELP!
Hi! I have a problem with string gadgets. I'm using SAS/C 5.10b (6.0 is
in the mail still) and need to know basically how to get the StringInfo.
I'm using only GADGETUP in the window, and using
((struct StringInfo *)g->SpecialInfo)->Buffer
via the GadToolsBox-generated code to get the string based on the GadgetID,
doing strcpy(mystruct.string,/*above line of code here*/);
Problem is, I get strange results if I have the tab cycle set, and tab
between string gadgets. Is there something I'm missing here? I know the
strcpy() function is OK, because mystruct.string is bigger then the max
num. of chars in the buffer by a long shot.
Anyone care to take a shot? Do I need GADGETDOWN?
-W-