General information
Category:
Coding, syntax & commands
Title:
Trying to access object on form from a menu
I am trying to access an object on my form from the menu. When my application loads, the form loads automatically and the following code will work:
IF goApp.MainMenuVisible = .T.
goApp.aForms(1).chkPrintPreview.Value = 0
ENDIF
But if the form is closed and then later reopened, I get an error: Unknown Member aForms.
goApp is my application object created using the application wizard.
jeff
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