Topic: Translate popupmenu

Hi, I'm analyzing the example of using the treeview control, in particular the example "gantt treeview booking". I would like to know how I can translate the context menu items, "add child record", "add top record" keeping the functionality of the same.
Thank you.

Re: Translate popupmenu

Hello.


Please download latest beta version:
https://www.dropbox.com/s/wutj7mnux7f3a … a.zip?dl=0


Now you can translate items of popup menu:

procedure Form1_OnShow (Sender: TObject; Action: string);
begin
    Form1.TreeView1.dbPopupMenu.Items[0].Caption := 'Add child';
    Form1.TreeView1.dbPopupMenu.Items[1].Caption := 'Add top';
    Form1.TreeView1.dbPopupMenu.Items[2].Caption := 'Edit';
    Form1.TreeView1.dbPopupMenu.Items[3].Caption := 'Del';
    Form1.TreeView1.dbPopupMenu.Items[5].Caption := 'Find';
end;
Dmitry.