Hey all.. I'm trying to spawn a modal dialog on a table click, but I'm
having trouble removing the table's highlight and resetting the focus when
the dialog finishes... the highlight stays and the set focus doesn't work:

 case tblSelectEvent:
   DoMyModalDlg();
   TblUnhighlightSelection(event->data.tblSelect.pTable);
   TblEraseTable (event->data.tblSelect.pTable);
   TblDrawTable (event->data.tblSelect.pTable);
   TblReleaseFocus(event->data.tblSelect.pTable);
   FrmSetFocus(pForm, FrmGetObjectIndex(pForm, MainLookupField));
   handled = true;
   break;

It does the same thing whether I make handled true or false (its what is
returned from the Form's event handler). The TblReleaseFocus command was
added in an attempt to fix, but it doesn't seem to have an effect.

----------
Bradly J. Barton - [EMAIL PROTECTED]
Jenies Technologies Incorporated
(972) 602-1835
http://www.JTI.net
http://PalmInHand.com



-- 
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