...have you tried setting pfrm->focus before calling FrmDoDialog?

FldGrabFocus calls GrfSetState(false, false, true) as long as the field is
empty.  and if pfrm->focus is the index of the field that you want to
receive focus, then when FrmDoDialog calls FrmSetFocus, it will in turn call
FldGrabFocus, which will set the autoshift state as long as the field has
the autoshift attribute and the field is empty.


----- Original Message -----
From: Alan Pinstein <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 16, 1999 7:14 PM
Subject: Re: setting shift state before a frmdodialog?


> >can't you just set the AutoShift attribute of the field?  (i don't use
> >Constructor, maybe only PilRC can do that??).  what am i missing?
>
> nope- autoshift only works when you tap in a field; I have already
> entered the field, and set the selection programaticcally, and the OS
> doesn't set the shift based on autoshift in that way. Sorry to be
> unclear, but I just don't think it works.
>
> ALan
>
>

Reply via email to