General information
Category:
Coding, syntax & commands
In the Project Manager open the (yourappname_MENU.MNX) file and look what command it uses there to open documents:
Typically it says APP_GLOBAL.DoNewOpen()
That brings up the Form and Report Selection Form.
APP_GLOBAL.DoNewOpen() is the command to use.
If that does not run properly, you have to include an INCLUDE statement, I don't remember which one. Alternately you can say GOAPP.DONEWOPEN()
When you try this and your document does not show in that Form Selection form, go back into the Project Manager and press Alt-F2.
That's where you can add forms so that they will show in the Form Selection Form.
If you want to run a SPECIFIC form instead of the Form Selection Window, use the APP_GLOBAL.doform("formname.SCX") Method
These methods are all in the Classes under (yourname)_APP -> app_application, which is based on _framework -> _application
Study the Classes in _framework and keep in mind that these classes are used in (YOURNAME)_APP
hs.
Previous
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