Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toolbars
Message
De
27/12/2001 07:15:31
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
À
27/12/2001 06:55:08
John Marrone
Bloodstock Research Inc.
Lexington, Kentucky, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00598376
Message ID:
00598378
Vues:
13
Hi John see the changes in bold.

>Hi
> I now have 2 toolbars. The main toolbar opens with the main form. When the
>user selects Print Report an other form opens and opens a toolbar that is
>docked on the left side of the screen. It has 2 buttons right now. The toolbar
>opens and docks on the left but the buttons are about a third of the way down
>the screen along with the grab handles. So I have a toolbar that is docked on
>the left side of the screen just below the toolbar that is docked at the top of
>the screen. About 2 inches of blank toolbar then the grab handle and my two
>buttons. Here is the code inside the report forms activate method.
>
><b>*frmMain.oToolBars[2].Top = -1 && no need
>*frmMain.oToolBars[2].Left = -1   && no need</b>
>frmMain.oToolBars[2].SHOW
>
>
>Here is the code in my main form:
>
>
>WITH THIS
>	IF TYPE('.oToolBars[1]') = 'O'
>		RETURN
>	ENDIF
>	.oToolBars[1] = NEWOBJECT('tbrMain','mcp2cls')
>	.oToolBars[2] = NEWOBJECT('tbrReports','mcp2cls')
>	.oToolBars[1].SHOW
>	.oToolBars[1].DOCK(0) && Dock top
><b>	.oToolBars[2].DOCK(1, 1, 1) && Dock left at top 1 left 1</b>
>ENDWITH
>
>
>When the reports form first opens I think I see it dock where it should but then moves down the screen.
>I have a fast computor and this happens so fast I amnot sure but it looks like it does dock right then
>readjusts the buttons down the toolbar.
>
>Can anybody help. Thanks
Alexandre Palma
Senior Application Architect
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform