picyka Posted January 10, 2021 Share Posted January 10, 2021 I have a TUniMenuItems component connected to TUniTreeMenu when clicking on any menu item, I would like to retrieve the value of the menu item's hint property. procedure TMainForm.Admin_EmpresaClick(Sender: TObject); begin ShowMessageN(TUniMenuItem(Sender).Hint); end; Quote Link to comment Share on other sites More sharing options...
picyka Posted January 10, 2021 Author Share Posted January 10, 2021 Self.uniTreeMenu.Selected.AttachedMenuItem.Hint I managed to solve it that way. Quote Link to comment Share on other sites More sharing options...
NizamUlMulk Posted February 1, 2021 Share Posted February 1, 2021 there is not an attachedMenuItem property of TUniTreeNode (Unigui 1.50) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.