SG_StringGadget | |||||||||||||||||||||||||||||||||||||||
Syntax: | |||||||||||||||||||||||||||||||||||||||
Result=SG_StringGadget(SG_GadgetID_L.l, X_Pos_L.l, Y_Pos_L.l, Width_L.l, Height_L.l, GadgetText_S.s, [Flags_L.l]) | |||||||||||||||||||||||||||||||||||||||
Parameters: | |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
Return Values: | |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
Description: | |||||||||||||||||||||||||||||||||||||||
Creates a String gadget in the current screen. SG_GadgetID_L will be the number returned by SG_EventScreenGadgetID() command. 'Content$' specifies the initial content of this StringGadget. Later the content can be changed with SG_SetGadgetText() and received with SG_GetGadgetText(). | |||||||||||||||||||||||||||||||||||||||
Example: | |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
Remarks: | |||||||||||||||||||||||||||||||||||||||
The flags of the textgagdet will also work here. For editing gadgets (currently Stringgadgets and Editorgadgets) there are the following keys availalble: - All Chars - Up - Down - Left - Right - Home - End - Del - Backspace | |||||||||||||||||||||||||||||||||||||||
|