Difference between revisions of "TGNavButtons"

From Gestinux Wiki
Jump to navigation Jump to search
(Created page with "This is a toolbar containing buttons to manage a dataset. The hints are translated automatically from the language file. If the translation is not found in the form section, ...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
This is a toolbar containing buttons to manage a dataset.
 
This is a toolbar containing buttons to manage a dataset.
  
The hints are translated automatically from the language file. If the translation is not found in the form section, it is searched in the General section, so it is not necessary to provide translations for every form.
+
The hints are translated automatically from the application language file, in the section named after the owner form name.  
  
The buttons Add, Edit and Delete are visible only when they are linked to an event. An event must be written to perform these operations. These operations are not done like in dbNavigator, because we do not use TTable to manage data.
+
If the translation are not found there, they are searched in the General section of Gestinux_util language file, so it is not necessary to provide translations for every form.
  
The other buttons Next, Previous, First, Last do not require code.
+
The buttons Add, Edit and Delete are visible only when they are linked to an event. An event must be written to perform these operations. These operations are not done like in dbNavigator, because Gestinux do not use TTable to manage data, but only TGquery.
 +
 
 +
There is also a button Export, visible when an event is attached, this event doing the export. 
 +
 
 +
If TGNavButton has a datasource linked to a TGQuery, the buttons Next, Previous, First, Last do not require coding.
 +
 
 +
=== See also ===
 +
 
 +
[[TGDbGrid]]
 +
 
 +
[[TGButton]]
 +
 
 +
[[TGSpeedButton]]
 +
 
 +
[[Gestinux_util#Display_only_components|Display only components]]

Latest revision as of 17:49, 4 November 2014

This is a toolbar containing buttons to manage a dataset.

The hints are translated automatically from the application language file, in the section named after the owner form name.

If the translation are not found there, they are searched in the General section of Gestinux_util language file, so it is not necessary to provide translations for every form.

The buttons Add, Edit and Delete are visible only when they are linked to an event. An event must be written to perform these operations. These operations are not done like in dbNavigator, because Gestinux do not use TTable to manage data, but only TGquery.

There is also a button Export, visible when an event is attached, this event doing the export.

If TGNavButton has a datasource linked to a TGQuery, the buttons Next, Previous, First, Last do not require coding.

See also

TGDbGrid

TGButton

TGSpeedButton

Display only components