Guidance
指路人
g.yi.org
software / RapidQ / RQ Doc / html / qfont.html

Register 
新用户注册
Search 搜索
首页 
Home Home
Software
Upload

  
Appendix A: QFONT
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
FieldTypeR/WDefaultSupport





CharsetINTEGERRWDEFAULT_CHARSETW
ColorINTEGERRWW
FontCountINTEGERRW
FontNameARRAY of STRINGRW
HandleINTEGERRWW
NameSTRINGRWWX
PitchINTEGERRWfpDefaultW
SizeINTEGERRWWX

QFont Methods
MethodTypeDescriptionParamsSupport





AddStylesSUBIAdd styles [bold, italic, etc]INTEGER, InfiniteW
DelStylesSUBIDelete styles [bold, italic, etc]INTEGER, InfiniteW


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

掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Sun 2017-9-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2015-12-25 19:42:36