--- "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/
