hi guys,
got dilemma with Line, seems fail to fix it :56:
i appreciate any insight on this
i can change color of line if i put it on extern section but its not very good way to change it i like to change as common style set em i mean this
but i don’t know how when user for exam chose a color or different pattern grab and change the line with this new settings
so help o wise ones
Gorraf
2
Hi!
If you know the name of the line, then the three funcions you seek are:
- ColorToString(ObjectGetInteger(0," line name ",OBJPROP_COLOR,0),true);
- ObjectGetInteger(0," line name",OBJPROP_STYLE,0));
- ObjectGetInteger(0," line name ",OBJPROP_WIDTH,0));
The style numbers represent:
- 0 - STYLE_SOLID
- 1 - STYLE_DASH
- 2 - STYLE_DOT
- 3 - STYLE_DASHDOT
- 4 - STYLE_DASHDOTDOT