Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programatically activating the Layout Toolbar
Message
 
To
15/12/2005 10:07:21
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01078240
Message ID:
01078247
Views:
20
Bob,

Put:
ACTIVATE WINDOW Layout
just before the DOCK WINDOW to make sure it's active.

HTH,
Chad

>I want to programatically activate and dock the Layout toolbar. I'm using the following code to open a report window and gain access to the Report Controls and Designer toolbars, but I get an error on the last line when I try to doc the layout toolbar...
>
>set resource off
>CREATE REPORT myreport NOWAIT
>DOCK WINDOW ("report designer") POSITION 0
>DOCK WINDOW ("report controls") POSITION 1
>
>DOCK WINDOW ("layout") POSITION 1
>
>Does anyone know how to get this to work? I get a "Window LAYOUT not defined error".
>
>Thanks.
>
>Bob
_________________________________
There are 2 types of people in the world:
    Those who need closure
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform