Quote:
Originally Posted by cbl016 I would like to have a tool tip pop up when a panel item is clicked. Can someone please show me how to do this. The code I have so far is
Zimlet_Name.prototype.singleClicked = function() {
var toolTip = new DwtToolTip(this.getShell());
toolTip.setContent('Here is some text');
toolTip.popup();
}
When I click on the panel item I get 2 errors.
1. "Error in parsing value for property 'left'. Declaration dropped."
2. "Error in parsing value for property 'top'. Declaration dropped."
I assume I need to set these properties somehow but I don't know where. |
There is a existing method (tooltipPoppedUp IIRC - I need to double check the code) that you can override to handle when tooltip messages are poped up.Take a look at ZmZimletBase.
js.