Point Posted October 25, 2021 Share Posted October 25, 2021 Hi, Base on this thread : http://forums.unigui.com/index.php?/topic/9773-hint-exttiptooltip/ i try to add hint/tooltip on one of treemenu item but still not working: function afterrender(sender, eOpts) { sender.tip = Ext.create('Ext.tip.ToolTip', { target: sender.el, //delegate: sender.getElementById(MainForm.UniMenuItems1.Test1.id); html: '<span class="hintClass">MyHint</span>' }); and i try this code in one of menu item : UniMenuItems1.Test1.Caption := '<div id="anim"><span class="tooltip" data-tooltip="username must' + ' consist of 29 symbols.">Test 1</span></div>'; this hint always display inside menu item. how to resolve this. thanks you in advanced. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 25, 2021 Share Posted October 25, 2021 Hello, 57 minutes ago, Popo said: this hint always display inside menu item. Do you want to solve this? Quote Link to comment Share on other sites More sharing options...
Point Posted October 25, 2021 Author Share Posted October 25, 2021 9 minutes ago, Sherzod said: Hello, Do you want to solve this? If you don't mind, I'd like to know how to work around the two methods above. so i can learn extjs too. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 25, 2021 Share Posted October 25, 2021 A general tip for all nodes? Quote Link to comment Share on other sites More sharing options...
Point Posted October 25, 2021 Author Share Posted October 25, 2021 on one menu item only for example : menu 1 menu 2 -> show hint here menu 3 Quote Link to comment Share on other sites More sharing options...
Point Posted October 25, 2021 Author Share Posted October 25, 2021 sorry sherzod, my english makes you confused, i hope you understand what i mean. for example i have 3 menu item on unitreemenu like this: menu 1 menu 2 menu 3 sub menu 31 sub menu 32 sub menu 33 i want show tooltip in menu 2 or sub menu 32. 1. how to display tooltip with extjs code/ext Event 2. if using CSS like in that thread, what kind selector should be modified Quote Link to comment Share on other sites More sharing options...
Point Posted October 25, 2021 Author Share Posted October 25, 2021 fyi, i've set hint properties on TUniMenuItems as source menu for TuniMenuMenu but hint not showing. Quote Link to comment Share on other sites More sharing options...
Point Posted October 26, 2021 Author Share Posted October 26, 2021 Just install 1554, Hint still not showing. Is hint's property of TuniMenuItems not applicable for TuniTreeMenu ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted October 26, 2021 Share Posted October 26, 2021 Also this post may help you: 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.