home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cbmvax!cbmehq!cbmger!edohwg!heinz
- From: heinz@edohwg.UUCP (Heinz Wrobel)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: gadtools underscore
- Message-ID: <heinz.036a@edohwg.UUCP>
- Date: 25 Aug 92 20:24:53 GMT
- References: <199223.848.15925@dosgate>
- Distribution: comp
- Organization: Edotronik GmbH
- Lines: 36
-
- In article <199223.848.15925@dosgate> barry.fruitman@canrem.com (barry fruitman) writes:
- >I'd like to thank everyone who answered my previous GadTools question
- >but alas I am stuck again. This question should be much simpler.
- >
- >It is: How do you indicate the underscore character in a GadTools
- >NewGadget GadgetText field? The Kernel ROM manual says the tag is
- >"GA_Underscore" in one place and "GT_Underscore" in another, and neither
- >works. I get a "GT_Underscore (or GA_Underscore) indentifier
- >unrecognized" error or something like that when I compile.
- >Any help would be appreciated.
-
- If you specify a TagItem like
-
- #include <libraries/gadtools.h>
-
- ...
- {GT_Underscore, '_'}
- ...
-
- and a Text like
-
- ng.ng_GadgetText = "Select _Font";
-
- you should be ok.
-
- It's a typo in the RKM's :-(
-
- >Barry Fruitman
-
- --
- Heinz Wrobel, Edotronik GmbH (ECG018)
- FAX +49 89 850 51 25 / TEL +49 89 850 25 20 (HOME!&VOICE, sometimes...)
- Path: cbmehq!cbmger!edohwg!heinz@cbmvax.commodore.com
- "It's good to have a mouse, it's faster if you can do without one..."
- "He who doesn't develop with an A2024 doesn't know about font independent
- user interfaces..."
-