Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Toolbar in SDI Form
Message
From
11/06/2002 19:29:44
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Toolbar in SDI Form
Miscellaneous
Thread ID:
00667148
Message ID:
00667148
Views:
91
Hi All,

Thank you for all the tips regarding to toolbar. The question continue...
This time, after I created a class with SDI form (as top level form) and few toolbars. When I used the SDI form template to build new form (company), I was hoping that the toolbar will be part of my new form (company), but instead the toolbar dock at the VFP screen.

The following code is part of the navi() method that I created.

IF TYPE("thisform.oNavigator")="O" AND;
!ISNULL(thisform.oNavigator)
IF Thisform.onavigator.visible = .F. THEN
Thisform.onavigator.visible = .T.
ENDIF
RETURN
ENDIF

*SET ClassLib TO ToolSet1.vcx ADDITIVE
I commented this section out and put in the init() of the SDI form. This created another problem. When I ran the company.scx and I got this error.
CLASS Definition Navigator NOT Found.

Thisform.oNavigator = CREATE("Navigator")
Thisform.oNavigator.Show
Thisform.oNavigator.Dock(0)

Can anyone tell me what I am doing wrong.

Thanks in advance
Next
Reply
Map
View

Click here to load this message in the networking platform