Difference between revisions of "TGEditButton"

From Gestinux Wiki
Jump to navigation Jump to search
(Created page with "This is a TGLabel with a button and either a text box or a label to display a code label. The hint of the Button is searched in the language file. Unlike the TEditButton...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
This is a [[TGLabel]] with a button and either a text box or a label to display a code label.
+
This is a TLabel with a TBitBtn, and either a Tedit text box or a TLabel to display readonly.
  
The hint of the Button is searched in the language file.
+
There is a Translate procedure, as in all other [[Gestinux_util#Visual_components|data entry components]].
 +
In addition to [[TGEdit]] translations, the hint of the TBitBtn is translated also.
  
 
Unlike the TEditButton, the button is just beside the caption,  because we think that this is more ergonomic and reduce mouse moves for users.
 
Unlike the TEditButton, the button is just beside the caption,  because we think that this is more ergonomic and reduce mouse moves for users.
Line 11: Line 12:
  
 
Like for the [[TGEdit]] the order of components should be different for RTL languages, in the future.
 
Like for the [[TGEdit]] the order of components should be different for RTL languages, in the future.
 +
 +
=== See also ===
 +
 +
[[TGFileEdit]]
 +
 +
Other [[Gestinux_util#Visual_components|data entry components]]

Latest revision as of 18:11, 4 November 2014

This is a TLabel with a TBitBtn, and either a Tedit text box or a TLabel to display readonly.

There is a Translate procedure, as in all other data entry components. In addition to TGEdit translations, the hint of the TBitBtn is translated also.

Unlike the TEditButton, the button is just beside the caption, because we think that this is more ergonomic and reduce mouse moves for users.

An event is called when the Button is clicked. The property DirectInput allows or not entry in the text box. When you can only select a limited set of codes set this property to False. When it is False, or when the property ReadOnly is true, the Edit Box is not visible.

Like for the TGEdit the order of components should be different for RTL languages, in the future.

See also

TGFileEdit

Other data entry components