Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

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 property

Examples:

var buttonWidth  = getObj("Button1").pui.properties["width"];
var myWidgetData = getObj("Image1").pui.properties["user defined data"];
  • No labels