P
phil
I am using SetFormula to set the colour of some text with
the string "RGB(10,20,30)". When run on a machine in
Sweden this crashes as the comma represents a decimal
point in their settings. I have found that "RGB(10;20;30)"
works on these systems but fails on mine. Is there a way
in code of looking up in the system settings which
character is used for a delimeter and which is used for a
decimal point ? Or is there a way I can avoid using the
RGB in SetFormula ? If I call SetCharProps
(visCharacterColor, colour) it wants a pallette index
number which I don't have as I am using colours which are
not part of the limited set but are user customisable.
the string "RGB(10,20,30)". When run on a machine in
Sweden this crashes as the comma represents a decimal
point in their settings. I have found that "RGB(10;20;30)"
works on these systems but fails on mine. Is there a way
in code of looking up in the system settings which
character is used for a delimeter and which is used for a
decimal point ? Or is there a way I can avoid using the
RGB in SetFormula ? If I call SetCharProps
(visCharacterColor, colour) it wants a pallette index
number which I don't have as I am using colours which are
not part of the limited set but are user customisable.