Hide Object Label

 

Hi

I created a trading stats window.  When I hover the mouse pointer over a description it will popup a tiny window (almost like a button) that shows the name

I gave to the object. 

ObjectCreate ("Title", OBJ_LABEL,0,0,0);

In my example it will popup the word Title.

How can I prevent this from happening?


Thanks.

 

Check ObjectSetString and property  OBJPROP_TOOLTIP
From the documentation:

  • The text of a tooltip. If the property is not set, then the tooltip generated automatically by the terminal is shown. A tooltip can be disabled by setting the "\n" (line feed) value to it

ObjectSetString - Object Functions - MQL4 Reference
ObjectSetString - Object Functions - MQL4 Reference
  • docs.mql4.com
ObjectSetString - Object Functions - MQL4 Reference
 
Drazen Penic #:

Check ObjectSetString and property  OBJPROP_TOOLTIP
From the documentation:

  • The text of a tooltip. If the property is not set, then the tooltip generated automatically by the terminal is shown. A tooltip can be disabled by setting the "\n" (line feed) value to it

Thanks mate;