RE: Edit push buttons text

2002-06-03 Thread Dominique Martel
Thank you! Dominique Martel -Original Message- From: Hal Mueller [mailto:[EMAIL PROTECTED]] Sent: 3 juin, 2002 16:02 To: Palm Developer Forum Cc: Palm Developer Forum Subject: Re: Edit push buttons text You can change it with CtlSetLabel, but it's much easier to use two butto

Re: Edit push buttons text

2002-06-03 Thread Pat Kerwan
Use CtlSetLabel. - PK Dominique Martel wrote: > Hi, is there a way to know the text within a push button and edit it. For > example, i have a button that is written "Connect" and I want to change it > for "Disconnect" when the connection is established. Is it possible to edit > it or I have to c

Re: Edit push buttons text

2002-06-03 Thread Hal Mueller
You can change it with CtlSetLabel, but it's much easier to use two buttons in the same spot, enabling/disabling as appropriate. It makes your event handling code much cleaner. Hal -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev

Edit push buttons text

2002-06-03 Thread Dominique Martel
Hi, is there a way to know the text within a push button and edit it. For example, i have a button that is written "Connect" and I want to change it for "Disconnect" when the connection is established. Is it possible to edit it or I have to create 2 buttons? Thank you! Dominique Martel -- For