View Single Post
  #7 (permalink)  
Old 11-10-2008, 10:45 PM
Michel Michel is offline
Senior Member
 
Join Date: Feb 2006
Posts: 587
Michel is on a distinguished road
Quote:
Originally Posted by leeb View Post
Does anyone know how the text legibility could be improved ?
I thought about putting it in a new window but the lines still need to be moved in the current window so not possible ?
Maybe a rectange or fill behind the text ? Has anyone done anything like this / have any ideas ?

Cheers
I think it may be easier to have an indicator instead of a script.
If you put the indic in a new window, the main window will still be the N° 0, thus the ObjectCreate(entry, OBJ_HLINE, 0, ...) will still draw the line on the main window (the third parameter is the window number). And ObjectGet() doesn't care about which window contains the object. So I think it should work.
Also an indicator is automatically called at each tick, so you don't need anymore an endless loop nor a sleep() inside.
Reply With Quote