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

Subscribe to our news:
Partners
Testimonials
Roger Brown: "Great product. The more I work with it, the more I am amazed at what it can do".
John Gondek: "Your software is amazing. I consider myself a novice at PHP and JS and with your software I have a web page that is truly fantastic. Thank you so much ".

More

Add your opinion

PostgreSQL PHP Generator 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 Combobox 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