Difference between revisions of "TGNavButtons"
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 | + | 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. | 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. | ||
Line 9: | Line 11: | ||
If TGNavButton has a datasource linked to a TGQuery, the buttons Next, Previous, First, Last do not require coding. | If TGNavButton has a datasource linked to a TGQuery, the buttons Next, Previous, First, Last do not require coding. | ||
− | See also | + | === 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.