Have you tried PUSH KEY/POP KEY?
>I tried that and that is really bugging me. See:
>
>
Re: Why does my form not start maximized? Thread #
882789 Message #
882842>
>
>>Could you maybe save the current reassignment with ON(), turn it off, KEYBOARD your CTRL-F10, then reset it with ON KEY LABEL when you're done?
>>
>>>Well, everything worked in testing using the example prg I posted. However, in my app, CTRL+F10 is reassigned (silly me, I forgot about that) so KEYBOARD... does not work. Also, it is a class so there is no Data Environment. I have to find another workaround it appears. Does any other keyboard combination have the same effect as the default CTRL+F10? ZOOM WINDOW ... I cannot use because I would have to add it to ALL reports...
>>>
>>>
>>>>Guess I was confused as to which form you were having trouble with.
>>>>
>>>>If resources is on the KEYBOARD '{CTRL+F10}' will toggle.
>>>>
>>>>You can also put this code in the init of the DE of the report.
>>>>
ZOOM WINDOW "Report Designer" MAX
>>>>
>>>>>Iadded it to the init and it works great. Thanks Mel!
>>>>>
>>>>>Tracy
>>>>>
>>>>>>>Any ideas? <
>>>>>>
>>>>>>I didn't test your code, but it seems like I KEYBOARD '{CTRL+F10}' to force a max preview report.
>>>>>>
>>>>>>Mel Cummings
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up