wxGrid how to set topmost left cell value
Adib Taraben
taraben.a at st-innovation.com
Mon Jan 1 04:19:01 PST 2007
Vadim Zeitlin schrieb:
> On Sun, 31 Dec 2006 16:11:21 +0100 Adib Taraben <taraben.a at st-innovation.com> wrote:
>
...
> AT>
> AT> Grid->SetCellValue(-1, -1, wxT("blah"));
> AT> Grid->SetColLabelValue(-1, wxT("blah"));
> AT> Grid->SetRowLabelValue(-1, wxT("blah"));
...
> What do you try to do by passing -1 here? You must pass a valid column/row
> index.
>
> Regards,
> VZ
here | cl0 | cl1 | cl2
-----------------------
rl0 | c00 | c01 | c02
-----------------------
rl1 | c10 | c11 | c12
-----------------------
rl2 | c20 | c21 | c22
I have this kind of grid where clx are collumn labels
(SetColLabelValue), rlx are row labels (SetRowLabelValue) and cxx cells
for row and collumn (SetCellValue).
But how can I go to the cell with the value "here" and set a text?
Adib.
More information about the wx-users
mailing list