>>The idea is following:
>>
Report Form ... Preview Nowait
>>if wexist("Print Preview")
>> move window 'Print Preview' to 10,10
>> mouse dblclick at 11,11
>>endif
>
><*shiver*> Uuuuuugly.... very uuuuuugly.....
You could get the Print Preview toolbar's coordinates in pixels (via Foxtools) and use those for the MOUSE command. However, it's a bit more complicated. You have to allow for frame widths and heights and if another toolbar is docked. It would, however, eliminate the need to position the toolbar at a known location.
George
Ubi caritas et amor, deus ibi est