Control property names
-
- Profound User
- Posts: 42
- Joined: Wed Aug 04, 2010 5:12 pm
- First Name: Bob
- Last Name: Steach
- Company Name: APHA
- Contact:
Control property names
Where / how do I find the controls property names to use in java scripts ? And also the control methods.
- Rob
- Profound Logic Staff Member
- Posts: 135
- Joined: Fri Jan 04, 2008 12:12 pm
- First Name: Rob
- Last Name: Ferguson
- Company Name: Profound Logic Software
- Contact:
Re: Control property names
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
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
Who is online
Users browsing this forum: No registered users and 2 guests