Lade...
 

SetFont

SetFont

SetFont(windowID, childID), SetFont(, childID), SetFont

Parameter:  Bezeichner eines Windows und eines Child-Windowobjekts

Stack
Stack Position Beschreibung
Stack(In) Top k
Stack(Out) Top -

Index k (k = 0, 1, ..., 9) wählt einen Eintrag in der Font-Tabelle. Der dort eingetragene Font wird benutzt. Fonts werden mit PMFonts in die Tabelle eingetragen. Für 0, 1 und 2 existieren vordefinierte Fonts.

// Set font 17 on widget uniqueID

17 SetFont(, uniqueID)

// Example of dynamic setting of fonts:

// Copy actual language of object and translate it into an integer. Then set the font!

phrase Copy(language) GetLanguageGUIFont SetFont(, uniqueID)