home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / programm / 18514 < prev    next >
Encoding:
Text File  |  1993-01-11  |  890 b   |  17 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!rpi!ghost.dsi.unimi.it!silvera
  3. From: silvera@ghost.dsi.unimi.it (paolo silvera)
  4. Subject: Here it is how to manipulate the cursor in a string gadget under gadtools.library
  5. Organization: Computer Science Dep. - Milan University
  6. Date: Mon, 11 Jan 1993 18:06:24 GMT
  7. Message-ID: <1993Jan11.180624.13518@ghost.dsi.unimi.it>
  8. Lines: 7
  9.  
  10. For Douglas Stockman:
  11.  If you want to control the position of the cursor of a string gadget
  12.  you have to refer to the StringInfo struct associated with the struct Gadget *
  13.  (your own string gadget..) and to select the BufferPos (or PosBuffer, I do not remember well).
  14.  Look into the include file intuition.h into the struct StringInfo declaration.
  15.  If you set this field you can control the position of the cursor into the strgadget.
  16.  
  17.