Browse by category:
|| | ||
When I have a bottom aligned or vertically centered cell, the text jumps to the top when the user starts editing the cell. How can I avoid this?
When you set the text single-line instead of multi-line, Objective Grid will position the CEdit at the bottom of the cell.
This example will turn off multi-line:
|SetStyleRange(range, CGXStyle( ).SetWrapText(FALSE).SetAllowEnter(FALSE));|
When you depend on a multi-line edit control, there is no way around this behavior. The problem is that CEdit does not support vertical alignment, and Objective Grid is using the CEdit class to edit the cell's contents.
|Objective Grid: Using a grid in applications written in plain C||Objective Grid: Problems using the grid layout file created by...|