Fontsize Combobox Foundation Class
This class is a combobox that lists available font sizes. It is also used by the tbrEditing and RTFControls classes of _format.scx.
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\Solution\Toolbars\format.scx |
Remarks
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.
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 |
See Also
Concepts
Guidelines for Using Visual FoxPro Foundation Classes
Reference
Visual FoxPro Foundation Classes A-Z