home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / demo / quickpak / demo2.ht < prev    next >
Text File  |  1994-02-28  |  1KB  |  12 lines

  1. \HFormatted Text\h
  2.  
  3.     Similar to a label control, the csHypertext control provides word wrapping of text. In addition, cshypertext allows for scrolling of larger text, making it ideal as a miniature browser. Text size is limited to 32k.
  4.     
  5.     Buiding on the functionality of a standard label, the cshypertext control allows you to display formatted text mixing \P\KDEMO4\kfont attributes\p and colors. Text is displayed in a single font, although you may use 2 different sizes and modify font attributes on the fly.
  6.     
  7.     Two different initial font characteristics can be specified: the base font and the Heading font. Base and heading fonts cannot be used on the same line.
  8.     
  9.     The base font is set using the familiar font properties (FontName, FontSize, etc.). The heading font is set using properties whose names begin with "Heading". There is a corresponding Heading property for each standard property except for FontName in other words, the heading font has the same typeface as the base font.
  10.  
  11.     Text may be displayed with any combination of font attributes by using \J\KDEMO5\kescape codes\j. Escape codes are also used to switch between base and heading fonts.
  12.