Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trouble with EXE's
Message
De
11/01/1997 13:57:00
 
 
À
11/01/1997 13:41:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00017101
Message ID:
00017105
Vues:
66
>The default toolbar, I never want to see it, even during program startup. I want the program to open, go to full screen, and show my toolbar only. It shows my toolbar, but only after seeing VFP's during screen open and maximizing. (By the way, is the problem of VFP not opening in a maximized state fixed in 5.0?)

SCREEN=OFF in CONFIG.FPW and _screen.Visible=.T. after the setup has been finished will do what you want.

Not opening in maximing is not a problem. This is up to you to decide how you want to open a window. You can fire it up maximized using _screen.WindowState=2 or use the configuration from the current user from the last time he went into the system. There is no standard on how to open a window. It's up to you to decide. You can also punch the maximize property at the icon level.

You can use this code to scan the Visual FoxPro toolbars and take action on them. This comes from the Tastrade sample.

DIMENSION This.aToolBars[11,2]
This.aToolBars[1,1]='Form Designer'
This.aToolBars[2,1]='Standard'
This.aToolBars[3,1]='Layout'
This.aToolBars[4,1]='Query Designer'
This.aToolBars[5,1]='View Designer'
This.aToolBars[6,1]='Color Palette'
This.aToolBars[7,1]='Form Controls'
This.aToolBars[8,1]='Database Designer'
This.aToolBars[9,1]='Report Designer'
This.aToolBars[10,1]='Report Controls'
This.aToolBars[11,1]='Print Preview'

FOR I=1 TO ALEN(This.aToolBars,1)
This.aToolBars[I,2]=WVISIBLE(This.aToolBars[I,1])
IF This.aToolBars[I,2]
HIDE WINDOW (This.aToolBars[I,1])
ENDIF
NEXT
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform