Difference between revisions of "TGLabel"
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
TGLabel is a very simple component ! | TGLabel is a very simple component ! | ||
− | This is a | + | This is a TCustomLabel with a Translate procedure, searching Caption and Hint properties in the currently selected language file. |
− | If a key in this inifile is found in the Form Section for the component name, the value is assigned to the | + | If a key in this inifile is found in the Form Section for the component name + '.Caption' or '.Hint', the value is assigned to the property. If not found the Caption or Hint are not changed. |
− | + | Not all properties of a TLabel are published and some properties have different default value. Initializations are different, according to most frequent usages in Gestinux. | |
+ | |||
+ | The same mecanism is implemented in all other [[Gestinux_util#Visual_components|data entry components]], through TCustomGLabelEdit, but TGLabel is not a descendant of the latter. | ||
+ | |||
+ | See also : [[Gestinux_util#Gestinux_util#Gestinux_util#Display_only_components|Display only components]] |
Latest revision as of 13:26, 11 March 2013
TGLabel is a very simple component !
This is a TCustomLabel with a Translate procedure, searching Caption and Hint properties in the currently selected language file.
If a key in this inifile is found in the Form Section for the component name + '.Caption' or '.Hint', the value is assigned to the property. If not found the Caption or Hint are not changed.
Not all properties of a TLabel are published and some properties have different default value. Initializations are different, according to most frequent usages in Gestinux.
The same mecanism is implemented in all other data entry components, through TCustomGLabelEdit, but TGLabel is not a descendant of the latter.
See also : Display only components