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? ----- Original Message ----- From: Alan Pinstein <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 16, 1999 3:57 PM Subject: Re: setting shift state before a frmdodialog? > > >Also, fields call GrfSetState at various times, including when they receive > >focus. Perhaps that is overriding the setting you're doing... actually now > >that I look at FrmDoDialog, it does make a call to set the focus, which > >(when set to a field) will cause FrmGrabFocus to call GrfSetState. > > > ah, now that I dig deeper the FrmSetFocus() call in DoDialog DOES end > up killing the GSState... > > >Sounds like you shouldn't use FrmDoDialog and just roll your own event > >handler. FrmDoDialog isn't magic; it is just occasionally helpful for the > >simple and straightforward case. > > I was hoping to avoid all that overhead just to get the shift > indicator on... maybe I'll try enqueueing a shift stroke before > calling DoDialog.... > > > Alan Pinstein > Synergy Solutions, Inc. > http://www.synsolutions.com > 1-800-210-5293 > >
