Sets the font of control.
Contents |
bool wb_set_font (int control [, int font [, bool redraw]])
Tip - To check the system font name and size, call <winterpostwiki>wb_get_system_info</winterpostwiki>("systemfont").
Returns TRUE on success or FALSE if an error occurs.
// Create a font, and use it to change the look of a Label control
$font = wb_create_font("Arial", 14, BLACK, FTA_BOLD);
wb_set_font($label, $font);