一个控件,在D6下编译,安装使用皆正确,在D5下编译,安装后,使用时出错:XXXFONT.Charset prOperty nOt exist!多谢!

解决方案 »

  1.   

    因为d6比d5高一个版本。加入了新的功能。在d5下不认识
      

  2.   

    rockswj(石头,我要学Sql):
    怎样解决呢?
    我只是将.PAS文件拷过去并编译的啊
      

  3.   

    UnitGraphicstype TFontCharSet = 0..255;DescriptionEach Windows typeface supports one or more character sets, which indicate what characters can be written using the font. For example, most fonts that can represent japanese characters use a particular multi-byte character set. Each font supports its own, unique set of character sets. Check with the font vendor to determine which character sets are supported.The following table lists the predefined constants provided for standard character sets:Constant Value DescriptionANSI_CHARSET 0 ANSI characters. 
    DEFAULT_CHARSET 1 Font is chosen based solely on Name and Size. If the described font is not available on the system, Windows will substitute another font.
    SYMBOL_CHARSET 2 Standard symbol set.
    MAC_CHARSET 77 Macintosh characters. Not available on NT 3.51.
    SHIFTJIS_CHARSET 128 Japanese shift-JIS characters.
    HANGEUL_CHARSET 129 Korean characters (Wansung).
    JOHAB_CHARSET 130 Korean characters (Johab). Not available on NT 3.51GB2312_CHARSET 134 Simplified Chinese characters (mainland china).
    CHINESEBIG5_CHARSET 136 Traditional Chinese characters (Taiwanese).
    GREEK_CHARSET 161 Greek characters. Not available on NT 3.51.
    TURKISH_CHARSET 162 Turkish characters. Not available on NT 3.51
    VIETNAMESE_CHARSET 163 Vietnamese characters. Not available on NT 3.51.
    HEBREW_CHARSET 177 Hebrew characters. Not available on NT 3.51
    ARABIC_CHARSET 178 Arabic characters. Not available on NT 3.51BALTIC_CHARSET 186 Baltic characters. Not available on NT 3.51.
    RUSSIAN_CHARSET 204 Cyrillic characters. Not available on NT 3.51.
    THAI_CHARSET 222 Thai characters. Not available on NT 3.51
    EASTEUROPE_CHARSET 238 Includes diacritical s for eastern european countries. Not available on NT 3.51.
    OEM_CHARSET 255 Depends on the codepage of the operating system.
      

  4.   

    如果只有代码,没有窗体.你可以搜索XXXFONT.Charset,把它去掉