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

I created a class with SDI(as top level form) and few toolbars(in top level form). Using SDI form as a template to create new form (Company.scx) and calling the methods to dock toolbars as part of the SDI form. When I ran the company form the toolbar dock underneath the VFP Screen. Why?

The following is Navi() method that I created and called in the init() of the company.scx

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
When commented the line above, I got this error CLASS DEFINITION Navigator NOT FOUND.

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

How could I fixed this problem? Thanks in advance
Next
Reply
Map
View

Click here to load this message in the networking platform