Rapid-Q Documentation by William Yu (c)1999 | Appendix A: QFONT

# QFONT Component

  QFont is a component used to specify the font, color, and size for your text. It's not meant to be used as a stand-alone component, it has no effect until you assign a QFONT component to a component that uses it.
  QFont Properties

  Field | Type | R/W | Default | Support

  Charset | INTEGER | RW | DEFAULT_CHARSET | W
  Color | INTEGER | RW |  | W
  FontCount | INTEGER | R |  | W
  FontName | ARRAY of STRING | R |  | W
  Handle | INTEGER | RW |  | W
  Name | STRING | RW |  | WX
  Pitch | INTEGER | RW | fpDefault | W
  Size | INTEGER | RW |  | WX

  QFont Methods

  Method | Type | Description | Params | Support

  AddStyles | SUBI | Add styles [bold, italic, etc] | INTEGER, Infinite | W
  DelStyles | SUBI | Delete styles [bold, italic, etc] | INTEGER, Infinite | W

  QFont Examples

        $INCLUDE "RAPIDQ.INC"

        DIM Font AS QFONT
        DIM Label AS QLABEL

        Font.Name = "Arial"
        Font.AddStyles(fsBold, fsItalic)
        Label.Font = Font      '' Assign font values

  Prev Component | Contents | Next Component