Desktop Application Object (PRIM_APPL)
Desktop application component
Ancestors - Application Object (PRIM_APP)Object (PRIM_OBJT)
Details
Desktop application component defining features of Visual LANSA Application.
At runtime, use the #SYS_APPLN variable name to access the object that represents your running application.
Properties
Name | Description |
|---|---|
Allow the application to respond to a Windows drag and drop | |
Configure the default appearance of the application | |
ComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT) | |
Collection of all forms in the application | |
ComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT) | |
ComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT) | |
Generic space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT) | |
ComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT) | |
ComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT) | |
Collection of system defined cursors | |
Ensure forms show on correct monitor | |
Reference to the current focus control | |
True if the application is using the Glass feature of forms | |
Use the Help Handler to override the default F1 behavior | |
Number of milliseconds that a hint will stay visible | |
Collection of system defined images | |
Collection of monitors available | |
Name identifies the component Inherited from Object (PRIM_OBJT) | |
NumericEditStyle controls insert and overtype data entry styles for numbers | |
The name of the current desktop operating system | |
Owner owns this component Inherited from Object (PRIM_OBJT) | |
The component instance to which this instance is attached. The visual container for a control or the collector of a set of child instances Inherited from Object (PRIM_OBJT) | |
Returns the partition Short Char setting Inherited from Application Object (PRIM_APP) | |
Returns the partition Short Char setting Inherited from Application Object (PRIM_APP) | |
Reference to the Primary Monitor | |
Render style determined from the runtime parameter and main form | |
Horizontal scaling factor | |
Vertical scaling factor | |
Height of the screen in pixels | |
Width of the screen in pixels | |
LANSA Internal Use Inherited from Application Object (PRIM_APP) | |
Style to be applied to the whole application | |
Collection of styles to be applied to the whole application | |
Theme property | |
Theme2003Color property | |
Theme2003Color property | |
Theme2003Color property | |
Apply theme colors to all forms | |
Show a readonly background for readonly edits in a themed application | |
User defined trace handler Inherited from Application Object (PRIM_APP) | |
Enabled/Disable LANSA use of Windows UxTheme.dll | |
Height of the available screen space across all monitors | |
Left position in pixels for all monitors | |
Top position in pixels for all monitors | |
Width of the available screen space across all monitors | |
Scroll controls when the mouse is over the control without being focus |
Events
Name | Description |
|---|---|
CreateInstance is signalled when an instance of a component is created Inherited from Desktop Application Object (PRIM_APPL) | |
DestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Desktop Application Object (PRIM_APPL) | |
Fired when the Focus Control changes Control | |
Fired every 5 seconds when there is no user input from the keyboard or mouse Seconds | |
Fired if already in idle state and there is keyboard or mouse input |
Methods
Name | Description |
|---|---|
Capture a bitmap screen print of the desktop as a file Result, FileName | |
Capture a bitmap screen print of a window as a file Result, FileName, Control | |
Closes all open dialogs | |
Close all open forms | |
Covert a LANSA color name to an RGB color Result, Color, R, G, B | |
Returns the control at the specified location Control, Left, Top, ControlPart | |
Create an instance of a bitmap (Prim_bmp) Result, FileName, Exists | |
Create an instance of the Color Picker Result | |
Create an instance of the File Open dialog Result | |
Create an instance of the File Save dialog Result | |
Create an instance of the Folder Browser dialog Result | |
Prevent Windows from replacing a busy form | |
Equivalent to pressing F1 Handled, Context, Requestor, TagString | |
Send a string to the user defined Trace Handler Inherited from Application Object (PRIM_APP) Source, Value1, Value2, Value3, Value4, Value5, Value6, Value7, Value8, Value9 | |
Send multiple strings to the user defined Trace Handler Inherited from Application Object (PRIM_APP) String1, String2, String3, String4 |