General information
Category:
Forms & Form designer
Title:
Toolbar in SDI Form
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only