I have another problem:
I built the line pattern I described earlier (and called it "halo") and i also made a custom property named "halo" which is boolean. i want that whenever the user chooses halo=true in custom properties the line pattern will be halo, and whenever he chooses halo=false the line pattern will be the same as always (which is 1).
So I wrote the following command in the scratch section cell A:
=IF(Prop.halo=TRUE,SETF(GetRef(LinePattern),USE("halo")),SETF(GetRef(LinePattern),1))+DEPENDSON(Prop.halo)
but for some reason it doesn't work. the line pattern remains 1 in any case (even if the user changes halo to true). it will change to the pattern i want only if i change linepattern manually to USE("halo").
However, the following commad (which is very similar) does work (it's also in the scratch section):
=IF(Prop.halo=TRUE,SETF(GetRef(LineWeight),15 pt),FALSE)+DEPENDSON(Prop.halo)
it makes the line thick whenever the user chooses halo=true (because I want the user to be able to see all three colors) and does nothing if the user chooses false.
So anyone knows why the first command didn't work?
thanks in advance
David