Condividi tramite


Fontsize Combobox Foundation Class

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

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.

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

Guidelines for Using Visual FoxPro Foundation Classes | Visual FoxPro Foundation Classes A-Z | Visual FoxPro Foundation Classes