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

Subscribe to our news:
Partners
Testimonials
Grey: "We're a two-person company, it's just me an my wife. I'm the technical guru, and she handles the business operations. I have to know a lot about MySQL, but that's much too technical for her. I have frequently had to setup CGI scripts (I code in Perl) so she can manage some of our tables (suppliers, manufacturers, etc).

I discovered PHP Generator a couple of days ago, tried the free version,and within a few hours I had purchased the Pro version (as well as SQL Maestro for MySQL).

Today I am completing the conversion of the last of my custom table managers to PHP Generator. This is eliminating several thousand lines of code that I don't have to support any more!

Thanks for this fantastic product".

Dionys Henzen: "Congratulations! Your MySQL PHP Generator is a great tool, that can save a lot of time and money to a developer! I'll evaluate for sure your software products when I need them. Great job".

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 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