Object Referencing FAQ’s

How do I reference the methods and properties of the application object?

The object reference of the application object is stored in the oApp property of _SCREEN. The CreateFolder method of the application object would be run as follows: _SCREEN.oApp.CreateFolder(). The cHomeDir property of the application object would be referenced as follows: _SCREEN.oApp.cHomeDir.

How do I reference the methods and properties of the security object?

The object reference of the security object is stored in the oSec property of the application object. The RunLoginForm method of the security object would be run as follows: _SCREEN.oApp.oSec.RunLoginForm(). The UserData_cUserID property of the security object would be referenced as follows: _SCREEN.oApp.oSec.UserData_cUserID.

How do I reference the methods and properties of the form toolbar?

The object reference of the form toolbar is stored in the oToolbar property of the application object _SCREEN.oApp. The Refresh method of the form toolbar would be run as follows: _SCREEN.oApp.oToolbar.Refresh(). The Visible property of the Order button on the form toolbar would be referenced as follows: _SCREEN.oApp.oToolbar.cmdOrder.Visible.

How do I reference the methods and properties of the application toolbar?

The object reference of the application toolbar is stored in the oAppToolbar property of the application object _SCREEN.oApp. The Refresh method of the application toolbar would be run as follows: _SCREEN.oApp.oAppToolbar.Refresh(). The Visible property of the Help button on the application toolbar would be referenced as follows: _SCREEN.oApp.oAppToolbar.cmdHelp.Visible.

More:

Security FAQ's