Michael Yam wrote:
> Is there a way to turn on an insertion point?  My workaround is to set 
> the focus to another field, then set it back to the field I really 
> want.

Maybe this will help.  I had a similar problem yesterday, where the
blinky vanished after dismissing a modal dialog.  No amount of plausible
FldXxx or FrmXxx calls would make it appear.

Finally found the problem was that I wasn't calling FrmSetActiveForm
when calling FrmDoDialog to pop up the modal dialog.  The fix:

    FormPtr dialog = FrmInitForm( dialogID );
    FormPtr parent = FrmGetActiveForm();      // ADDED THIS LINE
    FrmSetActiveForm( dialog );               // ADDED THIS LINE
    FrmDoDialog( dialog );
    FrmSetActiveForm( parent );               // ADDED THIS LINE
    FrmDeleteForm( dialog );

Without those FrmSetActiveForm calls, everything worked fine except for
the blinky disappearing in the parent form.  This fixed it.

-slj-

Reply via email to