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

Subscribe to our news:
Partners
Testimonials
Craig Cordell: "The simplicity of your code generator is fantastic. We've evaluated dozens of others over the past few years but have yet to find one that is as easy to use as yours".
Charles Phillips: "Just want to take a second to really thank you for all the great support you give – I think that’s by far the best feature you offer".

More

Add your opinion

PHP Generator for MySQL online Help

Prev Return to chapter overview Next

getCaption

Returns the caption of a certain control.

 

Signature:

function getCaption()

 

Let's see the difference between getValue() and getCaption() functions. Assume we we have a Radio group editor with the following properties:

 

 

... and the second item is selected:

 

 

The following code shows the difference between these functions:

 

var value = editors['color'].getValue(); // value == 2

var caption =  editors['color'].getCaption(); // caption == 'yellow'

 

See also: addItem, removeItem, getItemCount, clear



Prev Return to chapter overview Next