Difference between revisions of "TGEdit"

From Gestinux Wiki
Jump to navigation Jump to search
(Created page with "This is like the TLabelEdit of Delphi, but not implemented in the same way. It is simply made of a TLabel and a TEdit. The caption of the label is searched in the language f...")
 
Line 3: Line 3:
 
It is simply made of a TLabel and a TEdit.
 
It is simply made of a TLabel and a TEdit.
  
 +
There is a Translate procedure, as in all other [[Gestinux_util#Visual_components|data entry components]].
 
The caption of the label is searched in the language file (see [[TGLabel]]).  
 
The caption of the label is searched in the language file (see [[TGLabel]]).  
 
The hint of the TEdit also.
 
The hint of the TEdit also.

Revision as of 15:43, 16 January 2013

This is like the TLabelEdit of Delphi, but not implemented in the same way.

It is simply made of a TLabel and a TEdit.

There is a Translate procedure, as in all other data entry components. The caption of the label is searched in the language file (see TGLabel). The hint of the TEdit also.

Currently the TLabel is on the left and the TEdit on the right. If someone implements it, we should put the TLabel on the right and the TEdit on the left for RTL languages.

In addition, there is a column between TLabel and TEdit. When TEdit has a Max number of characters, it's width is reduced to the useful value.