Platforms to show: All Mac Windows Linux Cross-Platform

AntiAliasedTextSizeMBS as integer
global method, Appearance Manager, MBS REALbasic Mac Plugin (MacClassic), Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Returns which text size is the minimum size for Antialiased text.
Example:
msgbox "All text with textsize "+str(AntiAliasedTextSizeMBS)+" and bigger is antialiased if antialiasing is on."

Notes:
Note that this function requires the Appearance Manager:
System 7.1 to 7.6.1 - use version 1.0.4 from Apple
Mac OS 8 and 8.1 - use version installed
Mac OS 8.5 and newer - the lib is in the system suitcase
AppearanceSmallFontMBS as string
global method, Appearance Manager, MBS REALbasic Mac Plugin (MacClassic), Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Returns which text font to use for small text output.
Example:
msgbox "The system small font is "+AppearanceSmallFontMBS

Notes:
Note that this function requires the Appearance Manager:
System 7.1 to 7.6.1 - use version 1.0.4 from Apple
Mac OS 8 and 8.1 - use version installed
Mac OS 8.5 and newer - the lib is in the system suitcase
AppearanceSmallFontSizeMBS as integer
global method, Appearance Manager, MBS REALbasic Mac Plugin (MacClassic), Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Returns which text size to use for small text output.
Example:
msgbox "The small system font size is "+str(AppearanceSmallFontSizeMBS)

Notes:
Note that this function requires the Appearance Manager:
System 7.1 to 7.6.1 - use version 1.0.4 from Apple
Mac OS 8 and 8.1 - use version installed
Mac OS 8.5 and newer - the lib is in the system suitcase
AppearanceSystemFontMBS as string
global method, Appearance Manager, MBS REALbasic Mac Plugin (MacClassic), Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Returns which text font to use for normal text output.
Example:
Sub Open()
// Fill a listbox
listbox1.addrow "Systemfont"
listbox1.cell(listbox1.lastindex,1)=AppearanceSystemFontMBS
listbox1.cell(listbox1.lastindex,2)=str(AppearanceSystemFontSizeMBS)

listbox1.addrow "SmallSystemfont"
listbox1.cell(listbox1.lastindex,1)=AppearanceSmallFontMBS
listbox1.cell(listbox1.lastindex,2)=str(AppearanceSmallFontSizeMBS)

listbox1.addrow "Viewsfont"
listbox1.cell(listbox1.lastindex,1)=AppearanceViewsFontMBS
listbox1.cell(listbox1.lastindex,2)=str(AppearanceViewsFontSizeMBS)

End Sub

Notes:
Note that this function requires the Appearance Manager:
System 7.1 to 7.6.1 - use version 1.0.4 from Apple
Mac OS 8 and 8.1 - use version installed
Mac OS 8.5 and newer - the lib is in the system suitcase
AppearanceSystemFontSizeMBS as integer
global method, Appearance Manager, MBS REALbasic Mac Plugin (MacClassic), Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Returns which text size to use for normal text output.
Example:
msgbox "The system font size is "+str(AppearanceSystemFontSizeMBS)

Notes:
Note that this function requires the Appearance Manager:
System 7.1 to 7.6.1 - use version 1.0.4 from Apple
Mac OS 8 and 8.1 - use version installed
Mac OS 8.5 and newer - the lib is in the system suitcase
AppearanceViewsFontMBS as string
global method, Appearance Manager, MBS REALbasic Mac Plugin (MacClassic), Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Returns which text font to use for list text output.
Example:
msgbox "The system list font is "+AppearanceViewsFontMBS

Notes:
Note that this function requires the Appearance Manager:
System 7.1 to 7.6.1 - use version 1.0.4 from Apple
Mac OS 8 and 8.1 - use version installed
Mac OS 8.5 and newer - the lib is in the system suitcase
AppearanceViewsFontSizeMBS as integer
global method, Appearance Manager, MBS REALbasic Mac Plugin (MacClassic), Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Returns which text size to use for list text output.
Example:
msgbox "The system list font size is "+str(AppearanceViewsFontSizeMBS)

Notes:
Note that this function requires the Appearance Manager:
System 7.1 to 7.6.1 - use version 1.0.4 from Apple
Mac OS 8 and 8.1 - use version installed
Mac OS 8.5 and newer - the lib is in the system suitcase
CurrentAppearanceThemeMBS as string
global method, Appearance Manager, MBS REALbasic MacOSX Plugin (MacOSX), Console safe, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Returns which theme is used on your computer.
Example:
msgbox "You are using this theme: "+CurrentAppearanceThemeMBS

Notes:
Possible values:
com.apple.theme.appearance.platinum
com.apple.theme.appearance.aqua
com.apple.theme.appearance.aqua.blue
com.apple.theme.appearance.aqua.graphite
Returns "" on any error.
Available in CarbonLib 1.4 and later. Available in Mac OS X 10.1 and later.

On Windows or Linux an empty string is returned.
IsAntiAliasedTextEnabledMBS as boolean
global method, Appearance Manager, MBS REALbasic Mac Plugin (MacClassic), Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Looks whether Antialiasing is enabled for Text displaying.
Example:
if IsAntiAliasedTextEnabledMBS then
statictext1.text="Anti Aliased Text is on."
StaticText2.text="Anti Aliased Text starts at fontsize "+str(AntiAliasedTextSizeMBS)+"."
else
statictext1.text="Anti Aliased Text is off."
end if

Notes:
Note that this function requires the Appearance Manager:
System 7.1 to 7.6.1 - use version 1.0.4 from Apple
Mac OS 8 and 8.1 - use version installed
Mac OS 8.5 and newer - the lib is in the system suitcase

The items on this page are in the following plugins: MBS REALbasic Mac Plugin, MBS REALbasic MacOSX Plugin.




Links
MBS Realbasic Chart Plugins - Pfarrgemeinde St. Arnulf Nickenich