home *** CD-ROM | disk | FTP | other *** search
- String gadget event
- -------------------------
-
- 'gadget GID string'
-
- String gadget parameters.
- -------------------------
-
- Hook=number
-
- Select a special string gadget type where number =
-
- PASSWORD 1
- IPADDRES 2
- FLOAT 3
- HEXIDECIMAL 4
- TELEPHONE 5
- POSTALCODE 6
- AMOUNT 7
- UPPERCASE 8
-
- NOTE: some types do not seem to implimented in string gadget yet. 1,4,5,8
- seem to work under OS 3.9.
-
- font=GID
-
- This sets the font for the gadget. The GID points to an ALREADY defined text attribute.
-
- TabCycle (tc)
-
- This gadget can be activated using the tab key.
-
- close (c)
-
- This gadget will close the window when selected by the user.
-
- readonly (ro)
-
- This gadget is read only.
-
- disable=number (dis=)
-
- The gadget is enabled if number = 0 , disabled if number != 0. Defaults to enabled.
-
- gadgettext="text" (gt=)
-
- Set the text in the gadget.
-
- minchars=number (minc=)
-
- Minimum number of character/digits in this gadget. Defaults to 10.
-
- maxchars=number (maxc=)
-
- Maximum number of character/digits in this gadget. Defaults to 100.
-
- leftjustify (lj)
- centerjustify (cj)
-
- Set the justification of the text for the gadget. Defaults to rightjustify.
-
- minwidth=number (minw=)
-
- Set the minimum width for this gadget
-
- minheight=number (minh=)
-
- Set the minimum height for this gadget
-
- weightedwidth=number (weiw=)
-
- Set the weighted width for this gadget
-
- weightedheight=number (weih=)
-
- Set the weighted height for this gadget
-
- nominalsize (noms)
-
- Set this gadget to its nominal size.
-
- replace=GID
-
- Use this gadget to replace an existing gadget specified by GID.
-
- Definition Reply
- -----------------
-
- When the gadget creation is successful the pipe replies with
-
- 'ok GID'
-
- String gadget modify parameters.
- -------------------------
-
- disable=number (dis=)
-
- The gadget is enabled if number = 0 , disabled if number != 0.
-
- gadgettext="text" (gt=)
-
- Set the text in the gadget.
-
- selected=num (s=)
-
- Set the cursor position in a string gadget, and activate the gadget.
-
- bufferpos
-
- Read the current cursor position in the string gadget. This keyword should be used by itself. ( 'id GID getposition')
-
- It is replied to with 'POSITION ok'.
-
-