Jump to content

How To Set Focus To A TUniTreeMenu Menu Item And Simulate A Click On It?


Frederick

Recommended Posts

I have a TUniTreeMenu with the SourceMenu property pointing to a TUniMenuItems control.

TUniMenuItem
 -> menuitem1 
 -> menuitem2
 -> menuitem3

If I am on menuitem3, how do I set focus to menuitem1 and then run the code in menuitem1's OnClick event?

I tried menuitem1Click(menuitem1) but it does nothing.

--
Frederick
(UniGUI Complete - Professional Edition 1.90.0.1558)
 

Link to comment
Share on other sites

  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...