Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Toolbar funny behavior
Message
From
20/03/1998 14:44:15
 
 
To
20/03/1998 14:36:20
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00086081
Message ID:
00086084
Views:
26
>>Most of windows application uses the toolbar as main interface capability to approach the various applications commands or features...right?...and is docked!! all the time, unless the user undock the toolbar to get rid off it.
>> I just have a question why when a object based on the toolbar class
>>is created by a program, the toolbar appears in the screen undocked all the time, this is funny because acts exactly in different way that a regular windows application...I try to change the DockPossition property but is a Private property also the Docked method to true but also is a privated propertie...some one knows how to work around this problem because I want my toolbars to appear docked at the very first time...
>>
>>Thanks to all.
>>William Toledo
>
>***Formset.Init event
>this.tbMain.dock(0)
Thanks Ed,

the toolbar object is initialized on the main program ...not in a form set.
will work some like ...
x=createobject("oMyToolbar")
x.dock(0)
X.show()
?
this code in the main program because I want the toolbar appear as the the very first application's object without the need to create a form or a formset...
An Intelligent fool can make things bigger and more complex... It takes a touch of a genius -and a lot of courage- to move in the opposite direction".
-Albert Einstein
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform