TGLabel

From Gestinux Wiki
Jump to navigation Jump to search

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