Skip to content

Commit 4249c1e

Browse files
committed
[+] add hints for toolbar buttons
1 parent cfe57c9 commit 4249c1e

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

forms/fmmain.lfm

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,8 @@ object fmMain: TfmMain
309309
Align = alTop
310310
ClientHeight = 42
311311
ClientWidth = 1506
312+
ParentShowHint = False
313+
ShowHint = True
312314
TabOrder = 1
313315
object toolbarMain: TToolBar
314316
Left = 1
@@ -796,6 +798,7 @@ object fmMain: TfmMain
796798
Category = 'Tasks'
797799
Caption = 'acTaskDelete'
798800
DisableIfNoHandler = False
801+
Hint = 'Delete selected task'
799802
ImageIndex = 4
800803
OnExecute = acTaskDeleteExecute
801804
OnUpdate = acTaskToolbarUpdate
@@ -813,6 +816,7 @@ object fmMain: TfmMain
813816
Category = 'Tasks'
814817
Caption = 'acTaskEdit'
815818
DisableIfNoHandler = False
819+
Hint = 'Edit selected task'
816820
ImageIndex = 5
817821
OnExecute = acTaskEditExecute
818822
OnUpdate = acTaskToolbarUpdate
@@ -821,6 +825,7 @@ object fmMain: TfmMain
821825
Category = 'Tasks'
822826
Caption = 'acTaskPost'
823827
DisableIfNoHandler = False
828+
Hint = 'Save changes to selected task'
824829
ImageIndex = 6
825830
OnExecute = acTaskPostExecute
826831
OnUpdate = acTaskToolbarUpdate
@@ -829,6 +834,7 @@ object fmMain: TfmMain
829834
Category = 'Tasks'
830835
Caption = 'acTaskCancel'
831836
DisableIfNoHandler = False
837+
Hint = 'Cancel changes to selected task'
832838
ImageIndex = 7
833839
OnExecute = acTaskCancelExecute
834840
OnUpdate = acTaskToolbarUpdate
@@ -837,6 +843,7 @@ object fmMain: TfmMain
837843
Category = 'Tasks'
838844
Caption = 'acTaskRefresh'
839845
DisableIfNoHandler = False
846+
Hint = 'Refresh tasks for selected chain'
840847
ImageIndex = 8
841848
OnExecute = acTaskRefreshExecute
842849
OnUpdate = acTaskToolbarUpdate
@@ -845,41 +852,47 @@ object fmMain: TfmMain
845852
Category = 'Chains'
846853
Caption = 'acChainAdd'
847854
DisableIfNoHandler = False
855+
Hint = 'Add new chain'
848856
ImageIndex = 3
849857
OnExecute = acChainAddExecute
850858
OnUpdate = acChainToolbarUpdate
851859
end
852860
object acChainDelete: TAction
853861
Category = 'Chains'
854862
Caption = 'acChainDelete'
863+
Hint = 'Delete selected chain'
855864
ImageIndex = 4
856865
OnExecute = acChainDeleteExecute
857866
OnUpdate = acChainToolbarUpdate
858867
end
859868
object acChainEdit: TAction
860869
Category = 'Chains'
861870
Caption = 'acChainEdit'
871+
Hint = 'Edit selected chain'
862872
ImageIndex = 5
863873
OnExecute = acChainEditExecute
864874
OnUpdate = acChainToolbarUpdate
865875
end
866876
object acChainPost: TAction
867877
Category = 'Chains'
868878
Caption = 'acChainPost'
879+
Hint = 'Save changes in selected chain'
869880
ImageIndex = 6
870881
OnExecute = acChainPostExecute
871882
OnUpdate = acChainToolbarUpdate
872883
end
873884
object acChainCancel: TAction
874885
Category = 'Chains'
875886
Caption = 'acChainCancel'
887+
Hint = 'Cancel changes in selected chain'
876888
ImageIndex = 7
877889
OnExecute = acChainCancelExecute
878890
OnUpdate = acChainToolbarUpdate
879891
end
880892
object acChainRefresh: TAction
881893
Category = 'Chains'
882894
Caption = 'acChainRefresh'
895+
Hint = 'Refresh chain list from database'
883896
ImageIndex = 8
884897
OnExecute = acChainRefreshExecute
885898
OnUpdate = acChainToolbarUpdate

0 commit comments

Comments
 (0)