Hi,
the vertical scrollbar disappears when clicking on other cells (or move the mouse outside the grid).
Example:
Two columns, one edNumeric and the other edRichEdit.
When I init the grid in a loop I add the scollbar to that cell.
AdvStringGrid->AddScrollBar(2, row, true);
1. Click and add so much text you get the scrollbar when exiting the cell
2. Click on the edNumeric cell. You get the scrollbar
3. Click on the edRichEdit cell. Don't add any text
4. Click on the edNumeric cell. The scrollbar disappears
If you then add more lines to the edRichEdit you get the scrollbar back but repeating the above makes it disappear again.
You can also make it disappear by just moving the mouse cursor.
1. Click and add so much text you get the scrollbar when exiting the cell
2. Click on a edRichEdit cell in another row. You get the scrollbar
3. Click on the edRichEdit cell with text. Don't add any text
4. Click on a edRichEdit cell in another row. You get the scrollbar back
5. Move the mouse outside the grid or in a column other than edRichEdit. The scrollbar disappears
Kind regards,
Lars