Retrieve a widget property
There is not a specific API to retrieve the property of a widget, but the following code can be used for this purpose:
getObj(id).pui.properties[propertyName];
Paramaters:
id - the widget id
propertyName - the name of the widget's property
Examples:
var buttonWidth = getObj("Button1").pui.properties["width"];
var myWidgetData = getObj("Image1").pui.properties["user defined data"];
Some documentation pages have recently moved to a new section: Profound AppDev. If you are having trouble finding specific pages, try the documentation search capability or reach out to our Support team!