erich.wanker Posted March 8 Share Posted March 8 Hi .. how do read the clicked Item of a UniTreeMenu ? onSelectionChange and onClick gives me just (Sender: TObject); i think i must use something like (Sender as TUniTreeMenu).. ??? ThanX for help and nice greetings Erich Quote Link to comment Share on other sites More sharing options...
erich.wanker Posted March 8 Author Share Posted March 8 OK . got it 🙂 private { Private declarations } my_unitreeNode : TunitreeNode; procedure TUniForm.UniTreeMenu1SelectionChange(Sender: TObject); begin my_unitreeNode:= UniTreeMenu1.Selected; if my_unitreeNode.Text = 'Aktuelle News' then begin 1 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 9 Share Posted March 9 Hello @erich.wanker Yes, you can also see this approach in the standard demo: \FMSoft\Framework\uniGUI\Demos\Desktop\UniTreeMenu 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.