Philip I did like this. Tell me if there is any problem. 

   cPtr = FrmGetObjectPtr(frmP , FrmGetObjectIndex(frmP, NameField)); 
   CtlSetLabel(cPtr , "Hello"); 
   CtlDrawControl(cPtr); 

Intially there is no label in the button. 

Thanx, 
Dharm 
  

-----Original Message-----
From: Philip Sheard
To: Palm Developer Forum
Sent: 2/2/01 2:22 PM
Subject: Re: Problem in changing the label of a button.

> Guys I want to change the lable of a button dynamically, but by using 
> "CtlSetlabel" I am unable to do it neither I am getting any error.

works for me.

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to