An object representing the form that currently has focus.
App.ActiveForm
Newlook Smartclient
Newlook Server
Use this object to reference the currently active form and perform actions on the form or its controls.
If Newlook is not currently the active application, then referencing this object returns the form that would have the focus if Newlook was the active application.
If there is no currently active form, this object is null.
The ActiveForm object can only be used to reference either the runtime form or a currently opened Added form, it cannot be used to reference a Master form.
The ActiveForm object cannot be used within an expression in Designer.
Newlook Smartclient |
Newlook Server |
Deprecated
|
Obsolete
Property |
Client |
Description |
|
Returns the active control. Runtime-only. |
|
|
Gets or sets a value which determines whether Newlook will automatically detect controls aligned to DataGrid columns. |
|
|
Gets or sets whether the object allows drag/drop support. Newlook Smartclient-only property. |
|
|
Gets or sets the background color of the object. |
|
|
Returns or sets the calendar type used by the object or control. |
|
|
Determines the control text to display. |
|
|
Sets or returns the Coded Character sets Identifier. |
|
|
Specify the key to be issued when a form is closed. |
|
|
Returns the control that represents a command entry field on the host screen, if one exists. Runtime-only. |
|
|
A collection whose elements represent each Control in a Form. |
|
|
Specifies whether the recognition engine should create read-only equivalent controls where identified on the dynamically created form. |
|
|
Gets or sets the CSS class, or classes, for the control in Newlook Server. Server-only.. |
|
|
Sets and returns the currency symbol to be used in a form. |
|
|
Sets or returns the date format. |
|
|
Sets and returns the decimal symbol character used in a form. |
|
|
Sets and returns the thousands separator character. |
|
|
A collection whose elements represent each file dropped onto the object. |
|
|
Specifies whether the recognition engine should exclude standard date formats from a list of field choices. |
|
|
Specifies whether the recognition engine should exclude detected numeric ranges from a list of field choices. |
|
|
Specifies whether the recognition engine should detect generic wildcard values (usually beginning with an asterisk) from a list of field choices. |
|
|
The FunctionKeys collection in the Form object contains a list of the function keys that exist in that form. |
|
|
Returns or sets the height of the form's size in pixels at default size, which is the size at design-time. |
|
|
Specifies whether the underline attribute is to be ignored (not displayed) in the GUI for non-entry capable host fields.. |
|
|
Specifies whether the recognition engine should ignore areas of the screen that have not been written to (and not attempt to create empty controls). |
|
|
Sets the rendering engine used to layout the form.. |
|
|
Determines the distance, in pixels, between the left edge of the form and the left edge of its container at default size, which is the object's size at design-time. |
|
|
Returns the Locale ID for the System or App. |
|
|
Sets or returns color in a bitmap image that should
be the transparent color. |
|
|
Specifies whether the form is a master form. |
|
|
Sets or returns the message displayed in the status line. |
|
|
Name used to identify an object. |
|
|
Determines the format of any numeric output for the form. |
|
|
Sets or returns the name of a macro to be run when the
Activate event occurs. |
|
|
Sets or returns the name of a macro to be run when the Click event occurs. |
|
|
Sets or returns the name of a macro to be run when the Close event occurs. (Added forms only.) |
|
|
Sets or returns the name of a macro to be run when the DblClick event occurs. |
|
|
Sets or returns the name of a macro to be run when the
Deactivate event occurs. |
|
|
Sets or returns the name of a macro to be run when the Drop event occurs. |
|
|
Sets or returns the name of a macro to be run when the GotFocus event occurs. |
|
|
Sets or returns the name of a macro to be run when the LostFocus event occurs. |
|
|
Sets or returns the name of a macro to be run when the Open event occurs. (Added forms only.) |
|
|
Sets or returns the name of a macro to be run when the Receive event occurs. |
|
|
Sets or returns the name of a macro to be run when the Refresh event occurs. |
|
|
Sets or returns the name of the macro to be run when the Resize event occurs. |
|
|
Sets or returns the name of a macro to be run when the Send event occurs. |
|
|
Sets or returns the name of a macro to be run when the Timer event occurs. |
|
|
Picture properties specify an image file to be displayed in a form or control. |
|
|
Sets or returns where a picture will appear in Image control. |
|
|
Sets or returns color mapping used to display an image
in a form or control. |
|
|
Sets or returns opacity of a picture in a form or control. |
|
|
Sets or returns image quality of a picture in a form
or control. |
|
|
Sets or returns way in which a picture is sized in Image control. |
|
|
Sets or returns the way in which a picture is tiled
in the form or control. |
|
|
Specifies whether a form should be displayed in a separate popup window. |
|
|
Specifies whether the recognition engine should attempt to detect Field Choices. |
|
|
Specifies whether the recognition engine should attempt to detect Field Prompts. |
|
|
Sets or returns the height of a popup window, if different to the standard form size. |
|
|
Sets or returns the height of a popup window, if different to the standard form size. |
|
|
Gets or sets the row and column (separated by a comma) of the host cursor position when the form is sent back to the host. |
|
|
Specifies whether list values will be displayed in combo box controls. |
|
|
Specifies whether recognised field choices are shown on the form. |
|
|
Specifies whether recognised field markers (such as > or *) are shown on the form. |
|
|
Specifies whether recognised grid (subfile) options are shown on the form. |
|
|
Specifies whether recognised output fields will be shown with a border. |
|
|
Specifies whether fields recognised as screen information should be shown on the form. |
|
|
Specifies whether the recognised screen title should be shown on the form. |
|
|
Store additional information about an object. |
|
|
Sets or returns the number of times a Timer event is triggered for a Form. |
|
|
Sets or returns the interval, in milliseconds, between Timer events. |
|
|
Returns the recognised screen title for the host form. Read only.. |
|
|
Determines the distance, in pixels, between the top edge of the form and the top edge of its container at default size, which is the object's size at design-time. |
|
TriggerControl |
|
Returns the control that triggered the event. This property is obsolete.. |
|
Specifies whether to display choices using Check box controls. |
|
|
Specifies whether to display choices using Combo box controls. |
|
|
Specifies whether to use Combo box for command entry fields. |
|
|
Specifies whether to use Date combo box in forms. |
|
|
Specifies whether to use Grid controls in forms. |
|
|
Specifies whether to use Hyperlinks in forms. |
|
|
Specifies whether to use 3D lines in forms. |
|
|
Determines whether the color assigned in the MaskColor
property is used. |
|
|
Specifies whether to use Menu buttons in forms. |
|
|
Specifies whether to use Multiple line Text boxes in forms. |
|
|
Specifies whether to use Option buttons in forms. |
|
|
Specifies whether to use Prompt buttons in forms. |
|
|
Specifies whether to use XP Themes in forms. |
|
|
Specifies whether to use UpDown buttons in forms. |
|
|
Specifies whether to use URLs in forms. |
|
|
Sets or returns the current view. |
|
|
Determine if an object is visible or hidden. |
|
|
Gets or sets the width of the form's size in pixels at default size, which is the size at design-time. |
|
|
Returns the current window state of a form. |
Property |
Client |
Description |
|
Saves the current screen as an nl file. |
|
|
Specifies the control to be given focus when the form is loaded. |
The following example references the active form, loops through all the controls on the form and changes the font size of all label controls. VB SCRIPT:' Loop through all the controls on the active form. For i = 0 To App.ActiveForm.Controls.Count - 1
Next
JSCRIPT:// Loop through all the controls on the active form. for (i = 0; i < (App.ActiveForm.Controls.Count);i++) //check the type of the control and increase font size if type is label/ {
} |
Form object | Forms collection
© 2004-2021 looksoftware. All rights reserved.