Class | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## font-face-combo-box

A subclass of `combo-box`, used for changing the font face of an associated `rich-edit` control. The control's range is always the set of font faces that are currently installed in the operating system at runtime. When the end user selects a font face, the selected text in the associated rich-edit control is changed to the selected face. The control's value will also update automatically to display the font face of the text that is currently selected in the associated rich-edit control, if that face is installed.

If there are any `rich-edit` controls on the same parent window as the font-face-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-face-combo-box to be placed on the toolbar of a dialog that contains a rich-edit control in its main area, for example.

A diagram of window and widget classes is shown in Widget and window classes in cgide.htm.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version