Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toolbar events
Message
 
 
À
09/04/2001 12:10:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Divers
Thread ID:
00493616
Message ID:
00493931
Vues:
16
Hi!

Try ToolBar.Move(Lef, Top, Width, Height)

In addition, I guess you require to resize it more than 236. ToolBar resizes self automatically to the minimum requires size to fit all controls inside. If 236 is not larger size than required, tool ber might resize self into 2 lines of controls. This may cause the effect you mentioned.

Check also if in run-time some control do not resized to be larger than in design mode. This might be a reason too.

>i'm tring to resize a toolbar control when it's undocked.
>
>the control is created by a call to createObject(). the contol in named The ToolBar.
>
>in the undock event of the toolbar the code is:
>this.width = 236
>
>which doesn't work, nor does TheToolBar.width = 236 ( but I didn't want to do it that way anyway )
>
>but if I run it in debug and execute the command TheToolBar.width = 236 it works?!?
>
>
>
>how can i get it to work in code?
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform