Apr 20, 2024 05:47 Parameters Returns Supported Clients Sample Parameters Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Parameters Supported Clients SampleSupported Clients
SmartClient
WebClient
NGClient
Methods Summary
Object
getClientProperty(key)
Gets the specified client property for the element based on a key.
Object
getDesignTimeProperty(key)
Get a design-time property of an element.
String
getElementType()
Returns the type of a specified element.
String
getFormName()
Returns the name of the form.
String
getName()
Returns the name of an element.
void
putClientProperty(key, value)
Sets the value for the specified element client property key.
Methods Details
getClientProperty(key)
Gets the specified client property for the element based on a key.
NOTE: Depending on the operating system, a user interface property name may be available.
Object
key
user interface key (depends on operating system)
var property = %%elementName%%.getClientProperty('ToolTipText');
getDesignTimeProperty(key)
Get a design-time property of an element.
String
key
the name of the property
var prop = forms.orders.elements.mylabel.getDesignTimeProperty('myprop')
getElementType()
Returns the type of a specified element.
var et = %%elementName%%.getElementType();
getFormName()
Returns the name of the form. (may be empty string as well)
var name = %%elementName%%.getFormName();
getName()
Returns the name of an element. (may be null as well)
var name = %%elementName%%.getName();
putClientProperty(key, value)
Sets the value for the specified element client property key.
NOTE: Depending on the operating system, a user interface property name may be available.
Object
key
user interface key (depends on operating system)
Object
value
a predefined value for the key
%%elementName%%.putClientProperty('ToolTipText','some text');