Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Docking a system toolbar
Message
From
16/03/1998 12:00:28
 
 
To
16/03/1998 11:48:14
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00084827
Message ID:
00084847
Views:
41
>>>Hello Everybody!
>>>
>>>Is there any way to dock a system toolbar, especially the printpreview or report toolbar?
>>>
>>>TIA
>>>
>>>BB
>>
>>report form d:\vfp5test\report1.frx prev nowait
>>move window 'Print Preview' to 2,3 && move to some location
>>mouse at 2+1,3+1 dblclick && double-click to dock
>
>Excellent Ed, getting yours as a starting point found that :
>report form d:\vfp5test\report1.frx prev nowait
>mouse dblclick at 0,0 window "Print Preview"
>Also works.
>Somewhat this is not a new thread so :
>If it were "Report Controls", do you know a way to show it if !wvisible() ? Seem answering while asking but couldn't make it work yet.
>Thanks
>Cetin

Cetin, your code will actually toggle 'Print Preview', i.e. first time it will be docked, next time undocked, then docked again and so on.
In regards to 'Report Controls'
if wexist("Report Controls")
activate window "Report Controls" && or SHOW WINDOW?
endif
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform