home *** CD-ROM | disk | FTP | other *** search
-
- TextEntry Library
- =================
-
- V1.00
-
- Last Updated 27/6/94
-
- This library is freewaree - copy it modify it whatever - but if you do use
- it I would like some form of credit given in the program/documentation.
-
- FUNCTIONS
- =========
-
- TextEntrySetup{GadgetList,FileName$,Shape}
-
- The TextEntry routine uses two little shapegadgets for the up and down
- arrows, and this little function sets up the loading of the Gfx for those.
- The Gfx are contained in the file TextEntry.Gfx. This function can be used
- to load those Gfx by specifying the filename (including path) and the shape
- number to load the up gadget into - the down gadget will be in Shape+1.
- GadgetList is just a spare GadgetList that you have that the TextEntry window
- can use.
- If you incorporate the up/down gadgets into your own shape file, then you
- should not specify a filename - ie FileName$="", and specify with Shape the
- Shape which you have loaded them as. The two shapes MUST be kept in the same
- order and next to each other.
-
- TextEntryPostion{x,y,w,h}
-
- This function will postion the window at the specified screen coordinates
- with the specified width and height (actual window size NOT text lines.
- Specifying any of these as -1 will leave their values unchanged, thus leaving
- those things as they were last left or as the default. This does NOT need to
- be called.
-
- result$=TextEntry{Window,Title$,EditText$,MaxChars}
-
- This is the actual routine - Window is the Window number that will be used,
- opening on the current screen. Title$ is the title of the window, and
- EditText$ is the text to be edited. MaxChars is the Maximum number of
- characters that may be entered.
-
- AUTHOR
- ======
-
- Contact me (Mark Tiffany) at
-
- 37 Norfolk Road
- Littlehampton
- West Sussex
- BN17 5PW
-
- or on PHY93003@bham.ac.uk during University term times.
-
- UPDATES
- =======
-
- Come On! This is only the first version!
-
-
-