I've run into something weird with a TStringGrid, so I thought I'd see if anybody had come across this before. I've got two columns. Initially when the program runs, it looks like this:
(http://grovers.us/seth/media/before.png)
When running, when I click on a cell in the second column to edit its text, the selected cell becomes the left-most cell, like this.
(http://grovers.us/seth/media/after.png)
After that, I can never get back to where I can see both columns. I have scroll bars turned to always be visible, but I still can't scroll left after I get in this state.
The properties which might be applicable of my TStringGrid are:
Align: alLeft
AutoFillColumns: true
AutoAdvance: aaNone
Columns: 2 items
FixedCols: 0
FixedRows: 1
Options:
true: goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goColSizing, goEditing, goRowSelect, goAlwaysShowEditor, goSmoothScroll, goScrollKeepVisible
false : everything else
ScrollBars: ssBoth
VisibleColCount: 2
Any ideas? Thanks!
Seth Grover
sethdgrover@gmail.com
http://grovers.us/seth