Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Significant update since 9.0 release. 8.2 version

## use-real-combo-box

Arguments: combo-box-column-mixin

This `combo-box-column-mixin` option has been deprecated. The default value of `nil` should always be used. Setting this option to true can lead to problems with some combinations of other options, and so this option should not have been provided. On the Windows platform, this option tells a Microsoft combo-box widget to show its drop-down pane even though the combo-box itself is hidden, which the OS does not expect. On the GTK platforms, this option has never had an effect at all.

Returns true or `nil` to indicate whether the argument, which must be an instance of `grid-column` and of the mixin class `combo-box-column-mixin`, uses a standard `combo-box` control to show its drop-down list of choices, rather than using whatever simulation of a combo-box control is used by default (the default is `nil`).

This provides a choice for alternative styles for grid-widget combo-box cells, and an application may use whichever one is more suitable for it. This property may be set either by calling the setf of this function or by passing the `:use-real-combo-box` initarg to make-instance.

In the current Windows implementation, the default value of `nil` causes a pop-up menu to be used. The menu will always be as wide as needed in order to display the complete string for each choice. A value of true causes a Windows `combo-box` to be used instead. The combo-box will always be just as wide as the grid-column is, and therefore may clip some of the choice strings. The combo-box may be closed by pressing alt-uparrow, as with a standalone `combo-box` control. Alt-downarrow may be used to open either type, as an alternative to pressing either the spacebar or the return key. The two styles have different borders.

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 Significant update since 9.0 release. 8.2 version