Page 1 of 1

PostPosted: Sun Dec 14, 2003 11:18 pm
by Manoj
Hi Guys,

I want to change the text of a button to '\003' (The grey Down arrow).

I used FsetText() to change it using
FsetText(BTN12, "\003") and
FsetText(BTN12, '\003');
FsetText(BTN12, (int)'\003');
FsetText(BTN12, (char)'\003');

PToolBox does not complain but when I run this in my Emulator, it does not show up. Is it a Emulator bug ?

Please help.
Manoj:)

PostPosted: Sun Dec 14, 2003 11:27 pm
by jstadolnik
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">
PToolBox does not complain but when I run this in my Emulator, it does not show up. Is it a Emulator bug ?
<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">

No, it's a Manoj bug. :)

PocketC does not understand octal notation. You need to do "\x03". See the field_demo.c example.

Joe

The PToolboxLib guy.
http://www.geocities.com/retro_01775/PToolboxLib.htm

PostPosted: Sun Dec 14, 2003 11:44 pm
by Manoj
Like your reply. As usual it is correct! I tried octals and it worked.

Thanks again.

Manoj:mrgreen: