Retrieves the value of a variable or object property from the Newlook Control.
object.GetValue(value[, default])
Where object is an object expression that evaluates to one of the items in the Applies To list below.
This method applies to the Smartframe Newlook Control and Embedded Newlook Control.
value - (String, Required)
The name of the Newlook variable or property whose contents you wish to retrieve.
default - (String, Optional)
The default value to return if the method fails.
Use this method when you wish to retrieve the contents of a Newlook variable or an object property.
The following example illustrates how you might populate a field in a Smartframe HTML component with a Newlook variable. In this example the Newlook control's name has been set in the object tag as 'newlook1'. JAVASCRIPTvar result = newlook1.GetValue("varUser"); $('#varUserLabel').text(result);
Alternatively, you could retrieve the value directly from a named control on the active form. JAVASCRIPTvar result = newlook1.GetValue("App.ActiveForm.CurrentUser.Text"); $('#varUserLabel').text(result); |
(string) The contents of the variable or property specified.
Smartframe Newlook Control Embedded Newlook Control
SetValue method | App.GetValue Method
© 2004-2021 looksoftware. All rights reserved.