Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Toolbar showing on Top-Level Form
Message
From
06/05/2003 16:11:59
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
 
 
To
06/05/2003 11:27:08
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00785403
Message ID:
00785576
Views:
13
In INIT event or form designer, create the property oToolbar, with .null. value
ThisForm.AddProperty("oToolBar",.null.)
In ACTIVATE event of form put the following code:
IF  ISNULL(this.oToolbar)
	this.oToolbar=NewObject("{toolbar}","{classlib}")
	this.oToolBar.dock(0)
	this.oToolBar.Show
ENDIF
>Is there a way to put toolbars into Top-Level Forms?
>
>I have created toolbar class with ShowWindow = 1 (In Top-Level Form) but when I run my top-level form, ShowWindow property of Toolbar is still 0 and it shows in main VFP window.
>
>How can I put it in my main top-level form, independent of VFP main window?
Previous
Reply
Map
View

Click here to load this message in the networking platform