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 news:[EMAIL PROTECTED] > Pinaki Roy wrote: > > can i dynamically change the button label (text) and > > id ?? i want to use same button for different > > functionality in my application -- how i can achive > > that ?? > > 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/
