Gets or sets the name of the variable that stays synchronized with the contents of the control.
object.Variable = [string]
Where object is an object expression that evaluates to one of the controls in the Applies To list, and string is the name of the variable that stays synchronized with the contents of the control.
Newlook Smartclient
Newlook Server
When a control is first created, it is initialized according to the relevant specified properties, or by the dynamic recognition engine. At this time, any variable specified will be set according to the initial value of the control.
This property creates a Newlook variable that is synchronized with the control's current Value. It is worth noting that if the Choices property for the check box is blank, then a Value of "0" represents an unchecked state, while "1" represents the checked state, and "2" is grayed. If Choices have been set for the control, then Value returns the current checked or unchecked choice. For example, if the Choices property is set to Yes;No and the check box is currently selected then the Value property will return Yes and a variable assigned to this control will also be set to Yes.
This property creates a Newlook variable that is synchronized with the control's current Text property.
The Variable property cannot be used to initialize the Text property of a control. Use an expression in the Text property to initialize the value when the control is loaded (i.e. =MyVariable).
This property creates a Newlook variable that stores an array reflecting the current contents of the grid cells (including header cells).
This property creates a Newlook variable that is synchronized with the control's current Caption property. If the caption of a control is changed via an expression, script or macro then the assigned Newlook variable will reflect the new caption.
The Variable property cannot be used to initialize the Caption property of a control. Use an expression in the Caption property to initialize the value when the control is loaded (i.e. =MyVariable).
For host-generated option buttons, this property creates a Newlook variable which can be used to return the underlying FieldChoiceValue associated with the currently selected option button. By assigning the same variable to all option buttons in an option button group, it is possible to always return the FieldChoiceValue of the currently selected button, which is the value that will be sent through to the host if the selection remains unchanged. If none of the buttons in the group have been selected, and this variable has not been previously set, then the variable returns Null.
If your option button group does not have a default value (i.e. no option buttons are selected when the screen is received), you will need to run a macro or script on the OnReceive event of the form to reset your option group variable to a value of your choice (something different to the FieldChoiceValues of the option button group). This value indicates that nothing is currently selected. This is particularly important if your users are likely to exit and re-enter this screen. If you don't reset the variable on receipt of the screen, the option button group variable will reflect the last selected option choice, even if no options are currently selected.
This property creates a Newlook variable that is synchronized with the control's current Value property. This variable will update as the value is changed.
This property creates a Newlook variable that is synchronized with the UpDown control's current Value property. This variable will update as the user clicks the Up or Down buttons in the control.
Caption property | Cells property | Choices property | Text property | Value property
ListView control (Made obsolete in Version 11.0)
ScrollBar control (Control deprecated in version 10.5)
Tab control (Made obsolete in Version 11.0)
TreeView
control (Made obsolete in Version 11.0)
© 2004-2021 looksoftware. All rights reserved.