Row and Col property of MSHFlexGrid
- From: "Ella" <ellakayeekwan@xxxxxxxxx>
- Date: 6 Apr 2006 13:35:50 -0700
Hi everyone,
I have posted this problem before. However, nobody answer. I want to
try again. Hope someone can help.
Below is the explaination of my problem:
I cannot trigger the RowColChange event when clicking on the first row
on the grid.
I wrote some code in the grid1_RowColChange event for pop-up a dialog
for modifing the data of a row on the grid. Actually I have two grids
with similar functionalities.
When the application is loaded, the DataSource of both grids is set .
For the first table, if I click on the first row, no dialog pops up.
Click the second rows, it works. Click the first row again, it works.
For the second table, if I click on the either the first or second
rows, no dialog pop up. If I click on the third, dialog pops up with
the "data" of the second row. If I click the fourth row, I get the
second row data. Now, I can click on the second row to get the first
row data. However, if I click the scroll bar, everything works
correctly. First row is first row. Second row is second.
Anyone has this problem? How can I fix it?
Now I tried to use the Click event rather than the RowColChange event.
I try to print the .Row and .Col properties of the grids in the Click.
However, the row and col doesn't reflects the cell that I click. This
is the reason why I have wrong data or I don't have the dialog pops up.
However, I don't know why the .Rol and .Col is not right. Any idea?
Also in one of the grid, I don't see the "square" on the active cell
displayed on the grid. Why is that? How to set the default "square" to
a specific place?
Thank you very much
Ella
.
- Follow-Ups:
- Re: Row and Col property of MSHFlexGrid
- From: Ken Halter
- Re: Row and Col property of MSHFlexGrid
- Prev by Date: Re: Forms Dll
- Next by Date: Re: Row and Col property of MSHFlexGrid
- Previous by thread: OPTION BUTTONS
- Next by thread: Re: Row and Col property of MSHFlexGrid
- Index(es):