home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / programm / 12701 < prev    next >
Encoding:
Text File  |  1992-08-26  |  1.4 KB  |  48 lines

  1. Path: sparky!uunet!cbmvax!cbmehq!cbmger!edohwg!heinz
  2. From: heinz@edohwg.UUCP (Heinz Wrobel)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: gadtools underscore
  5. Message-ID: <heinz.036a@edohwg.UUCP>
  6. Date: 25 Aug 92 20:24:53 GMT
  7. References: <199223.848.15925@dosgate>
  8. Distribution: comp
  9. Organization: Edotronik GmbH
  10. Lines: 36
  11.  
  12. In article <199223.848.15925@dosgate> barry.fruitman@canrem.com (barry fruitman) writes:
  13. >I'd like to thank everyone who answered my previous GadTools question
  14. >but alas I am stuck again. This question should be much simpler.
  15. >
  16. >It is: How do you indicate the underscore character in a GadTools
  17. >NewGadget GadgetText field? The Kernel ROM manual says the tag is
  18. >"GA_Underscore" in one place and "GT_Underscore" in another, and neither
  19. >works. I get a "GT_Underscore (or GA_Underscore) indentifier
  20. >unrecognized" error or something like that when I compile.
  21. >Any help would be appreciated.
  22.  
  23. If you specify a TagItem like
  24.  
  25. #include <libraries/gadtools.h>
  26.  
  27.     ...
  28.     {GT_Underscore, '_'}
  29.     ...
  30.  
  31. and a Text like
  32.  
  33.     ng.ng_GadgetText = "Select _Font";
  34.  
  35. you should be ok.
  36.  
  37. It's a typo in the RKM's :-(
  38.  
  39. >Barry Fruitman
  40.  
  41. --
  42. Heinz Wrobel, Edotronik GmbH (ECG018)
  43. FAX +49 89 850 51 25 / TEL +49 89 850 25 20 (HOME!&VOICE, sometimes...)
  44. Path: cbmehq!cbmger!edohwg!heinz@cbmvax.commodore.com
  45. "It's good to have a mouse, it's faster if you can do without one..."
  46. "He who doesn't develop with an A2024 doesn't know about font independent
  47.  user interfaces..."
  48.