Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Workaround to dock toolbars to a top-level form # vfp ma
Message
From
13/02/2003 01:27:51
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
 
 
To
10/02/2003 07:15:55
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00751335
Message ID:
00752592
Views:
25
Toolbars can be docked to forms too, but ShowWindow property must be set to 2
Add a custom property to the form, ToolbarRef with .null. value
Here is some sample code to dock toolbar to form (in Activate event of form) :
IF  ISNULL(this.toolbarref)
	this.ToolbarRef=CREATEOBJECT('MyToolbar')
	this.ToolbarRef.Dock(0)
	this.ToolbarRef.visible = .t.
ENDIF
HTH

>I have not found a workaround for what is stated in the manual: that a toolbar can only be docked to the main VFP Window.
>
>Is there one ?
>
>thanks for any hint
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform