Download MetaTrader 5

Make a Fibo line disappear - page 2

To add comments, please log in or register
steveF
48
steveF  

clrNONE does not work.

The object is still Black when using this value. clrNONE in build 616 still equals 4294967925, not -1


--Steve

qjol
3243
qjol  
I tried Alert ((int)clrNONE); the result is -1
steveF
48
steveF  

Yes - there is a way to force it with int, but it shouldn't be that way

  
// This line works and object is disappear as expected

ObjectSet(FName ,OBJPROP_COLOR,int(clrNONE));

// This line does not work and object appears with default color

  ObjectSet(FName ,OBJPROP_STYLE,clrNONE);
Alain Verleyen
Moderator
32482
Alain Verleyen  
steveF:


Yes - there is a way to force it with int, but it shouldn't be that way

You are right about the bug, sorry. You can report this by writing to the ServiceDesk of Metaquotes (you have to register on mql5.com).

By the way, the actual value is 4294967295 and not 4294967925. And this value is exactly the same as -1. It's not the problem.

steveF
48
steveF  
angevoyageur:
You are right about the bug, sorry. You can report this by writing to the ServiceDesk of Metaquotes (you have to register on mql5.com).

By the way, the actual value is 4294967295 and not 4294967925. And this value is exactly the same as -1. It's not the problem.


Bug Reported as you requested.

Thanks,

Steve

12
To add comments, please log in or register