Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners

DB2 PHP Generator online Help

Prev Return to chapter overview Next

setState

Sets the state for a control.

 

Signature:

function setState(['normal'|'warning'|'error'|'success'])

 

Example:

 

if (sender.getValue() < 10) {

    editors['percentage'].setState('warning');

}

else {

    editors['percentage'].setState('normal');

}

 

See also: getState



Prev Return to chapter overview Next