hi, Thanx a lot for ur responses -- i 'm using same button (id) and changing the text for different functionality with CtlSetLabel() --- it's working fine -- I 'd like to ask another Question on GUI -- is there a way to make a button active/inactive dynamically ?? in my application i 'm displaying different set of data in the same form --and using a button which i want to be active for some set and inactive for others -- can i do that ?? if yes, how i can achieve that ?? Thanx in Advance for any help Regards Pinaki
--- Patrick Tuan <[EMAIL PROTECTED]> wrote: > Or you can create the buttons on-the-fly, instead of > embedding them in the > resource. Palm OS lets you create most of the UI > objects on-the-fly. > > "Matt Graham" <[EMAIL PROTECTED]> wrote in > message > > Use 2 different buttons and hide and show them as > appropriate? > > > > You can change the button label w/ CtlSetLabel() > or something but I'm > > pretty sure a button is stuck w/ the ID it starts > with. Try using 2 > > buttons or just changing the text and dealing w/ > only one ID. > -- > For information on using the Palm Developer Forums, > or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ ________________________________________________________________________ Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more. Go to: http://in.insurance.yahoo.com/licspecial/index.html -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
