>> Fastbase Business Software Ltd

Fastbase Accounting System - Online Manual

Setup.dat - Screen/Font Settings

Document 103100/1

Entered Thu, 3 Apr 2003 13:59 by Peter Campbell
Updated Thu, 3 Apr 2003 14:06
Previous


set setup(font) {Arial 12}
This is the default font used by FastBase, typically this should be done conditionally, using the following code:


# if the screen resolution is >= 1024*768 then use Arial 12, otherwise use Arial 9.
if {[winfo screenwidth .] >= 1024} {
set setup(font) {Arial 12}
set setup(font_scale) 8
} else {
set setup(font) {Arial 9}
set setup(font_scale) 6
}


set setup(font_scale) 8
This option determines the default spacing for each character, see above for examples.

set setup(select_colour) "lightsteelblue"
This is the default colour used for the highlight/select bar.

set setup(text_font) {"Courier New" 9}
This is the default font used by FastBase when viewing text files. The selected font should always be a fixed width (non-proportional) font like Courier.

set setup(font_bold) {Arial 12 bold}
This option specifies the font to use when displaying things in bold type. This value is set by default based on the selected font and is not needed in the setup.dat file.

set setup(font_small) {Arial 11}
This option specifies the font to use when displaying things in small writing. This value is set by default based on the selected font and is not needed in the setup.dat file.

Online documentation: enter keywords to search for: