I am having trouble getting the auto shift to work in a text field.
I am trying to make the cursor start blinking in the field when I enter
the form.
I tried doing just
      FldSetInsPtPosition(pField, 0);
      FrmSetFocus(frm, FrmGetObjectIndex (frm, fieldID) );
but this didn't seem to work, so I added:
      EventType event1;
      event1. eType = fldEnterEvent;
      event1.data.fldEnter.fieldID = fieldID;
      event1.data.fldEnter.pField = pField;
      EvtAddEventToQueue (&event1);
Now, the cursor starts blinking nicely, but the Graffiti shift state is
messed up: it is always
in lower case even though the position is at zero and the field is
correctly marked as auto shift. If I make an up stroke to switch to
upper case, it is ignored, and the SECOND up stroke changes to normal
upper case (the third up stroke goes into permanent upper case). Typing
a character and then backspace DOES go into auto shift mode correctly.

Presumably, the way I am making the cursor start blinking  in the field
is messing everything else up.  Any advice on how to make this work
correctly?
Thanks,
Brad Myers

Reply via email to