Page 1 of 1
Control property names
Posted: Wed Aug 04, 2010 5:18 pm
by nascar88
Where / how do I find the controls property names to use in java scripts ? And also the control methods.
Re: Control property names
Posted: Thu Aug 05, 2010 9:48 am
by Rob
Within your Profound UI Account under "White Papers /Guides" is a
Client side Scripting API Reference. This allows you to write scripts to change the properties of various widgets.
You can also use getObj() to get a reference to a DOM object on the page. In most cases you would not need to access objects on the page in this way but it is available if required. A useful DOM guide is at
http://www.w3schools.com/jsref/default.asp
In the vast majority of cases, you should be able to bind a field to the appropriate property of a widget and alter that property using an RPG WRITE or EXFMT operation