FormPtr frmP = FrmGetActiveForm();

FrmHideObject(frmP,FrmGetObjectIndex(frmP, FieldID));

or alternately

FrmShowObject(frmP,FrmGetObjectIndex(frmP, FieldID));



"Dan Samber" <[EMAIL PROTECTED]> wrote in message
news:48208@palm-dev-forum...
>
>
> According to the archives, there is no way to "gray" a button to
> show that it is disabled. One can either :
>
> 1) Set it "unusable"- so it isn't drawn at all
> 2) Use some other technique that makes it "read only" (so that it
> is drawn but does not generate events).
>
> Is there a easy way to do this? The relevant posts were old... so
> I figured I'd ask again.
>
> Thanks!
>
> Dan
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to