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

Subscribe to our news:
Partners
Testimonials
Lucian Nedescu: "Thank you very much. Have a nice century (this is a real wish :P). I think that i will do a great job on my clients database with the new php interface. Thank You again".
Patrick Biegel: "Thanks a lot for your fast reply and the great solution! It works now and that's really important! The PHP Generator for MySQL is a great software".

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