This is a PilRC 3.0/3.1 bug that will be fixed in the 3.2 release. The code for the
fix is already in the sourceforge CVS, but the release was held up by the PalmSource
dev con that's going on this week.
-----Original Message-----
From: yakir
Date: 2/11/04 11:37 am
To: Palm Developer Forum
Subj: Can't disable pushbutton border
In one of my forms I have (PilRC source):
PUSHBUTTON "N" ID Pbutton_Events_Name AT (PrevRight+16 PrevTop AUTO AUTO)
FONT 0 GROUP 1
PUSHBUTTON "D" ID Pbutton_Events_Date AT (PrevRight+1 PrevTop AUTO AUTO)
FONT 0 GROUP 1
In my code I have (the equivalent of):
FrmHideObject(pForm, FrmGetObjectIndex(pForm, Pbutton_Events_Name) ) ;
The contents of the pushbutton are cleared, it is inactive BUT the border
remains on screen.
WHY ???
Other controls in the form which undergo the same treatment behave
correctly,
as do pushbuttons in other forms !
Any ideas ??????????
Another (Un ?) related problem.
I have graphic buttons defined in the same way in a number of
forms. In SOME of them I need to specify the width as being 4 pixels
wider than they actually are - otherwise they are chopped off.
Running Codewarrior 9.2, PilRC 3.1
Testing on OS5.2
Any help appreciated !
-- Yakir.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/