>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
