Discussion:
visual problem DBGrid
(too old to reply)
herman
2008-04-28 17:30:28 UTC
Permalink
Hello,

I have a SQLQuery, DSP, CDS, DS and DBGrid.
I select * from table with PacketRecords = 50.

I open the dataset and use the down-key in the grid.
When I come at the bottom only the field where the cursor is in and the
scrollbar tell me that I go down the grid.
Going back up and left / right thrue the grid, the contents of the cell
with the cursor shows the right information. But only when I step on it
with the cursor.

When I change the first column with the primairy key-field from
invisible to visible, the grid acts normal.

Can anyone tip me on how to solve my problem without showing this
primairy field?

Thanks in advance.
Herman
Jan Doggen
2008-04-29 20:18:09 UTC
Permalink
Keep it visible but make the column width 0?

Jan
Post by herman
Hello,
I have a SQLQuery, DSP, CDS, DS and DBGrid.
I select * from table with PacketRecords = 50.
I open the dataset and use the down-key in the grid.
When I come at the bottom only the field where the cursor is in and the
scrollbar tell me that I go down the grid.
Going back up and left / right thrue the grid, the contents of the cell
with the cursor shows the right information. But only when I step on it
with the cursor.
When I change the first column with the primairy key-field from invisible
to visible, the grid acts normal.
Can anyone tip me on how to solve my problem without showing this primairy
field?
Thanks in advance.
Herman
herman
2008-05-08 19:21:54 UTC
Permalink
Thanks,

Because a columnwidth of 0 leaves a big black line between rows, I was
wandering what is happening here. As far as I know showing a column
should not give this effect.

For now it'll have to do.

Thanks
Herman
Post by Jan Doggen
Keep it visible but make the column width 0?
Jan
Post by herman
Hello,
I have a SQLQuery, DSP, CDS, DS and DBGrid.
I select * from table with PacketRecords = 50.
I open the dataset and use the down-key in the grid.
When I come at the bottom only the field where the cursor is in and the
scrollbar tell me that I go down the grid.
Going back up and left / right thrue the grid, the contents of the cell
with the cursor shows the right information. But only when I step on it
with the cursor.
When I change the first column with the primairy key-field from invisible
to visible, the grid acts normal.
Can anyone tip me on how to solve my problem without showing this primairy
field?
Thanks in advance.
Herman
Loading...