` Printed Icetips Article

Icetips Article



Par2: Setting tooltip and status bar fonts
2000-01-23 -- Alexey Solovjev
 
These properties allow you to change the standard font settings
for tooltips and status bars:

Tooltips (SYSTEM should be used as the target):

SYSTEM{PROP:FontName + PROP:TipsFont} - set/get font typeface
SYSTEM{PROP:FontSize + PROP:TipsFont} - set/get font size
SYSTEM{PROP:FontColor + PROP:TipsFont} - set/get font color
SYSTEM{PROP:FontStyle + PROP:TipsFont} - set/get font style

Tips font always uses the default CHARSET which has a value
of SYSTEM{Prop:CharSet}.

Status Bars can have WINDOW or SYSTEM as target. At creation
time, the status bar font is cloned from the one for SYSTEM (i.e.,
settings for SYSTEM give the default values).

SYSTEM{PROP:FontName + PROP:StatusFont} = 'Tahoma'
!Set Tahoma as default font for status bars

WINDOW{PROP:FontSize + PROP:StatusFont} = 10
!When this window is active, Tahoma 10 is used in status bar.



Printed November 21, 2024, 6:39 am
This article has been viewed/printed 35210 times.