Item Methods and Properties (inherits Object)

value (rw)

The value property accesses the value of the control for the current row, and can be used to access or update the value. ctrl.value is equivalent to ctrl.getValue(ctrl.getBlock().getQueryRow()) or ctrl.setValue(ctrl.getBlock().getQueryRow(), value) for access or update respectively. It can only be used to access the current row.

void setValue ( number rowNum, string value )

Update value in control

Set the value of a control. The row number does not count displayed rows, rather the row number in the query. Use the block method getQueryRow() to retrieve the current row number. The value for the current row can be accessed directly using the value property described above.

string getValue ( number rowNum )

Get value from control

Fetches the control value for a specified (query) row number. The value for the current row can be accessed directly using the value property described above.

string getRowValue ( number rowNum )

Get value from underlying query

void setTabOrder ( number order )

Set control tab ordering

void setEnabled ( number rowNum, bool enable )

Enable or disable control

void setVisible ( number rowNum, bool show )

Show or hide control

bool isEnabled ( number rowNum )

Test if control is enabled

bool isVisible ( number rowNum )

Test if control is visible