Difference between revisions of "TGLabel"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
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. | 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. | ||
− | |||
− |
Revision as of 19:42, 7 February 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.