home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!amusing!grace!Douglas_Stockman
- From: Douglas_Stockman@graceUUCP (Douglas Stockman)
- Newsgroups: comp.sys.amiga.programmer
- Subject: gadtools.library stringgad help
- Distribution: world
- Message-ID: <Douglas_Stockman.1mpl@graceUUCP>
- Date: 30 Dec 92 10:49:13 EST
- Organization: Graceful Boot BBS (send replies to User_Name%grace@moscom.com)
- Lines: 21
-
- Greetings,
- I need some enlightenment regarding the use of gadtools.library string
- gadgets. I have a string gadget that text/numbers are entered into. This
- string gadget is part of a spreadsheet-like data entry window. I want the
- user to be able to strike a keyboard key that signals my program to
- activate the string gadget, place the entered character into the string
- gadget, and move the active cursor in the string gadget to the position
- after the first character entered. So far I can activate the string gadget
- and place the pressed character into the string gadget when the user
- presses a desired key. The trouble is the active string gadget cursor
- remains on the first character entered. If the user continues to enter
- text, the new text is inserted before the first character entered placing
- the first character entered at the end of the entered text (e.g. elpH,
- instead of: Help). I noticed in RKM:Libraries that NON gadtools.library
- string gadgets allow a BufferPos variable to be set which controls where
- the cursor appears. Is there a legal way to do the same thing using a
- gadtools.library string gadget???? All help is greatly appreciated.
-
-
- -- Via DLG Pro v0.992
-
-