I tried this. Still the same. :(

char gSelector[30];

FrmPopupForm(MyForm);
switch(gGlobalVariable)
{
case 1:
StrPrintF(gSelector,"xxxx");
break;
case 2:
StrPrintF(gSelector,"yyyy");
break;
}
CtlSetLabel(ctl,gSelector);   (typing mistake in last post)
CtlDrawControl(ctl);
frmP=FrmGetActiveForm();
FrmDrawForm ( frmP);

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

Reply via email to