Hi gang,
I've got the following code in one of my tool palette icons:
Code:
(command "-style" "MVVA 1-8 Bold" "swissk.ttf" "A" "Y" "No" "0.125" "1" "0" "N" "N" "_setvar" "textstyle" "MVVA 1-8 Bold") _Mtext
It does not set the newly created text style as current before issuing the MTEXT command and I'm baffled as to why.
If I paste that code into the command line it works fine.
And.. actually, if I issue the -STYLE command and create that style at the command line, the last thing the STYLE command reports is "MVVA 1-8 Bold is now the current text style". So I should not even need the whole "_setvar" "textstyle" "MVVA 1-8 Bold" business.
Halp. (and thanks in advance for your halp)