For example, I set the button to Usable mode in the constructor, and then I use a 
boolean flag (set true) for disable the button:
if(flag) {
CtlSetUsable(GetObjectPtr(buttonName),false); }

Hope this will help you.
Merav
-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to