1533 ObjectPAL: Font.Script property
VERSIONS: ?

SUBJECT: Changing Font.Script

BY: JOSEF GRAEF
Date: 21 March 2001

We have to "translate" an existing paradox application into slovene. So we have to change existing field properties.

For text objects (not for fields) the following works fine:
         if ui.class = "Text" then
            ui.font.script="Mitteleuropäisch"
         endif

For field objects only the following code works:
         if ui.class = "Field" then
            ui.Font.Typeface = "Arial CE"
          endif

The statement
ui.font.script="Mitteleuropäisch"
does not work for field objects, but when the statement
ui.Font.Typeface = "Arial CE"
is executed, then font.script becomes automatically "Mitteleuropäisch"!

To index