Objective Grid: CGXComboBoxWnd draws over adjacent cells

Article ID: 522
Last updated: 16 Apr, 2018
Article ID: 522
Last updated: 16 Apr, 2018
Revision: 4
Views: 1952
Posted: 23 Jan, 2001
by Meltreger B.
Updated: 16 Apr, 2018
by Meltreger B.

Problem


Why does a CGXComboBoxWnd cell draw over the neighboring cells when I click into it?


Cause



Action


We have added an attribute m_bForceInsideCell to CGXComboBoxWnd. Use this attribute to force the CGXComboBoxWnd to be drawn inside a cell. The attribute is FALSE by default, which will let the CGXComboBoxWnd make the combobox slightly bigger than the cell when it gets the focus, so that the text in the edit box will not be clipped any more. (You can see this in the "Base Styles"-sheet in gridapp).

This article was:   Helpful | Not helpful
Report an issue
Article ID: 522
Last updated: 16 Apr, 2018
Revision: 4
Views: 1952
Posted: 23 Jan, 2001 by Meltreger B.
Updated: 16 Apr, 2018 by Meltreger B.

Others in this category