Forum > LCL
TStringGrid Cell Editing
VTwin:
I'm stumped with TStringGrid and must be missing something very simple. I'm running OS X 10.6.3 with Lazarus 0.9.29, FPC 2.4.0, i386-darwin-qt (beta).
I place a TStringGrid on a form, run it, select a cell, but then can't get the cell editor to activate. AutoEdit is True, what am I missing? I've been at it for hours.
Frederick
theo:
Did you set goEditing in Options to true?
VTwin:
No... :-[
It seems is working now, many thanks!
Sorry, fumbling my way forward.
asdf:
1. How could we write code for this line?
2. And how to hide the vertical line of non fixed cells in such TStringGrid ?
theo:
--- Quote from: asdf on October 27, 2010, 08:25:52 am ---1. How could we write code for this line?
2. And how to hide the vertical line of non fixed cells in such TStringGrid ?
--- End quote ---
1. I don't understand. Do you mean this:
StringGrid1.Cells[1,1]:='hello';
2. Have a look at the Options property. (goVertLine)
Navigation
[0] Message Index
[#] Next page