PHP Generator for MySQL 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 |