mguo wrote:
set focus first, then draw the form.

Were implying that I do this?

if (eventP->data.ctlSelect.controlID == Button8)
{
        FormPtr pFrm = FrmInitForm(TestModalForm);
        FrmSetEventHandler(pFrm, ModalFormEventHandler);
        
        //If you make this call here. It will not turn the focus ring on
        FrmSetNavState(pFrm, kFrmNavStateFlagsObjectFocusMode);
        
        FrmDoDialog(pFrm);
        FrmDeleteForm(pFrm);

}


It didn't work.

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

Reply via email to