The first message went out during the troubles the mail server was
happening, so I am sending it again... can anyone help?
> 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.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/