Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Toolbar not showing
Message
From
24/04/2003 02:08:40
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
 
 
To
23/04/2003 15:49:59
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00780537
Message ID:
00781003
Views:
14
You need also ShowWindow property of your form to be 2 (As Top Level Form)

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("testvcx2","myclass\test\testvcx2.vcx")
	this.oToolBar.dock(0)
	this.oToolBar.Show
ENDIF
>Hi,
>
>>I'm guessing you are wanting this displaying in the MyForm. The ToolBar needs to have the ShowWindow = 1 && In Top Level Form.
>
>ShowWindow already was 1 to begin with.
>
>
>>Also you can, in the Show method of the form, do
>>Show Window (_Screen.oToolBar.Name) In Window (This.Name)
>>
>
>That still doesn't fix it.
>
>Anyways, thanks for the reply.
>
>jw
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform