Hi Joe,

Thanks for the tips - maybe I asked the wrong thing.  I wanted the buttons to be 
visible/invisible and I thought that you are
supposed to use the usable property for that... Can you clarify?

Thanks,
Ed

Joe wrote:

> --- "Edward P. Ross" <[EMAIL PROTECTED]> wrote:
> > I am a newbie to programming with CodeWarrior
> > ...
> > I have a form with two buttons.
> > Upon opening the form I want button 1  set to
> > usable and button 2 usable (programmatically).
>
> Do that inside of MainFormInit().  Did you mean you want both usable,
> or was one of them supposed to be unusable?  (Note: It is generally
> considered a bad thing to have visible controls that are unusable.)
>
> >
> > Then when I click on either button I want the
> > buttons to switch their usable field.
>
> Add a ctlSelectEvent case to your MainFormHandleEvent() and respond to
> button taps there.
>
> However, if tapping a button makes it unusable, how do you expect to
> make it usable again?  (Or, did you mean that when you tap button 1, it
> becomes unusable and button 2 becomes usable, and vice versa?)
>
> __________________________________________________
> Do You Yahoo!?
> Try FREE Yahoo! Mail - the world's greatest free email!
> http://mail.yahoo.com/
>
> --
> 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/

Reply via email to