|
-
August 26th, 2003, 12:09 PM
#1
First Row property of MSFlexGrid is not there. any equivalent?
Hi,
We have project developed in VB 4 in which Microsoft Grid Control (grid32.ocx) has been used. In the code they used the line
Grid1.firstrow +1
We are now in the necessity to migrate from grid32.ocx to MSflex grid control. so, now i would like to know what is the equivalent property on MS flexgrid. Firstrow property is not available on MSFlexgrid.
Pls. do help me in finding an equivalent property.
Suresh.
-
August 26th, 2003, 01:15 PM
#2
' Header row
MSFlexGrid1.Row = 0
MSFlexGrid1.Col = 0 through whatever
Grid1.firstrow +1 is now MSFlexGrid1.Row = 1
-
August 26th, 2003, 02:46 PM
#3
If you want the number of the first row shown in the flexgrid (excluding fixed rows), you can simply use the .TopRow property
-
August 27th, 2003, 12:13 AM
#4
Problem solved
Thank you very for trying to help me out. But what i have found is that firstrow property is not existing in that old MS grid control also. Since the code got compiled i thought it is there with the old grid. later my investigation revealed that even if we use some invalid method on that old grid it doesn't through an error while compilation. And the method i am trying to migrate is never used. So, i have commented out that piece of code and the code got compiled properly with the new grid. With this my problem is solved.
Last edited by sureshgade; August 27th, 2003 at 01:10 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|