Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programatically activating the Layout Toolbar
Message
 
 
À
15/12/2005 10:07:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01078240
Message ID:
01078452
Vues:
20
In the case when the Layout toolbar is not open yet, you can use a kludge
IF WEXIST("Layout")
  ACTIVATE WINDOW Layout
ELSE
  KEYBOARD "{ALT+V}T{DNARROW}{DNARROW}{DNARROW}{DNARROW}{SPACEBAR}{CTRL+W}"
ENDIF	
>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
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform