Tracy,
Try (untested):
MOUSE DBLCLICK AT -0.1,0.1 WINDOW "Report Designer"
You may have to call a custom method from the init to get this to work. This is the code I use to dock the toolbar.
>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,
Mike
"We try to solve the problem by rushing through the design process so that enough time is left at the end to uncover the errors that were made because we rushed through the design process."
- Glenford Myers
If you're going through hell, keep going. - Walt Disney