eduardosuruagy Posted April 9 Posted April 9 How do I make a message appear that matches the image linked to a component? Quote
irigsoft Posted April 10 Posted April 10 Hi, try to make you own Hint for this component. Maybe this will be usefull. Quote
eduardosuruagy Posted April 10 Author Posted April 10 This balloon that appears near the Edit component is not a hint. It is triggered when I click on a button and I enter the text I want when clicking on the button. It is to inform the client that a certain field needs to be filled in. There is no way to include this in the component's hint; it would have to be done automatically. Quote
irigsoft Posted April 10 Posted April 10 3 hours ago, eduardosuruagy said: This balloon that appears near the Edit component is not a hint. It is triggered when I click on a button and I enter the text I want when clicking on the button. It is to inform the client that a certain field needs to be filled in. There is no way to include this in the component's hint; it would have to be done automatically. isn't it the same ? I try to write this js code into uniButton.CustomEvents.ExtEvents.click and after click on button all work for this Button var el = this; //sender; var _title; _title = el.getEl().dom.getAttribute('title'); el.getEl().dom.removeAttribute('title'); el._toolTip = Ext.create('Ext.tip.ToolTip', { target: el, html: '<span class="hintClass">' + _title + '</span>', trackMouse: true, userCls: 'hintClass2' }); //el._toolTip.show() 1 Quote
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.