A subclass of combo-box
, used for changing the
font height of an associated rich-edit
control. This control's
range is always a standard list of typical font sizes, though any size
may be typed in. When the end user selects a font face (see font-face-combo-box
),
the selected text in the associated rich-edit control is changed to
the selected font height. The control's value will also update
automatically to display the font size of the text that is currently
selected in the associated rich-edit control.
If there are any rich-edit
controls on the same
parent window as the font-size-combo-box, and at least one of them has
had the keyboard focus, then the combo-box will affect the rich-edit
that most recently had (or still has) the focus; otherwise it will do
nothing. If a rich-edit is not found on the same parent window, then
the grandparent window is searched, followed by the great-grandparent
and so on; this allows a font-size-combo-box to be placed on the
toolbar of a dialog that contains a rich-edit control in its main
area, for example.
Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.
The documentation is described in introduction.htm and the index is in index.htm.
Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.
Created 2000.10.5.