Title: RE: Selector Trigger

Try this . . .

switch(gGlobalVariable)

{

case 1:

CtlSetLabel(ctl,"xxxxx");

CtlDrawControl(ctl);

break;

case 2:

CtlSetLabel(ctl,"yyyyy");

CtlDrawControl(ctl);

break;

}

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Klemen Dovrtel
Sent: Thursday, August 04, 2005 12:48 PM
To: Palm Developer Forum
Subject: Selector Trigger

I used a PopupForm to change some global variables, and when i return, i want to see these changes, but the selector trigger label doesn't want to change. Why is that?

ControlType *ctl=(ControlType *)GetObjectPtr(MySelTrigger);

FrmPopupForm(MyForm);

switch(gGlobalVariable)

{

case 1:

CtlSetLabel(ctl,"xxxxx");

break;

case 2:

CtlSetLabel(ctl,"yyyyy");

break;

}


--

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

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

Reply via email to