Category | Text Formatting |
Default Catalog | Visual FoxPro Catalog\Foundation Classes\Text Formatting |
Class | _cbofontsize |
Base Class | ComboBox |
Class Library | _format.vcx |
Parent Class | _combobox |
Sample | ...\Samples\Vfp98\Solution\Toolbars\format.scx |
Remarks
This class is a combobox that lists available font sizes. It is also used by the tbrEditing and RTFControls classes of _format.scx.
To use, drop the class on a project or form or, from the Component Gallery Item Shortcut menu, select Add to Project or Add to Form. When you add the class to a form, Visual FoxPro places a combobox on the form so you can specify appropriate font size values for objects in the active form. When you drop the class on a project, you can choose between adding the class or creating a subclass.
See Guidelines for Using Visual FoxPro Foundation Classes for more information on using foundation classes.
Properties, Events, Methods | Description |
nSmallestFont property | For scalable fonts, specifies the smallest allowable fontsize. Default: 8 |
nLargestFont property | For scalable fonts, specifies the largest allowable fontsize. Default: 48 |