dwknight
asked on
VB.Net Datagridview equivalent property for VB6 msflexgrid.isrowvisible
I am in the process of migrating a VB6 application to VB.NET 2005.
I am migrating from a flexgrid control in VB6 to a VB.NET datagridview control.
Is there a datagridview property to return / evaluate the last visible row on a datagridview?
The current property I use in VB6 the msflexgrid control is the .isrowvisible property.
Thanks for the help
I am migrating from a flexgrid control in VB6 to a VB.NET datagridview control.
Is there a datagridview property to return / evaluate the last visible row on a datagridview?
The current property I use in VB6 the msflexgrid control is the .isrowvisible property.
Thanks for the help
refer https://www.experts-exchange.com/questions/20918979/Flexgrid-in-VB-NET.html
ASKER
Thanks Abarj, but I wanted to migrate completely to VB.NET technology - specifically the datagridview control.
ASKER
I wanted to amend the previous statement - I have a project requirement to use the datagridview control.
In datagridview you would use the visible property.
If true is visible if false is not.
If true is visible if false is not.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you want to loop through the rows you can do something like:
For Each myRow As DataGridViewRow In Me.DataGridView1.Rows
if myRow .visible then
else
end if
next
For Each myRow As DataGridViewRow In Me.DataGridView1.Rows
if myRow .visible then
else
end if
next
ASKER
Your suggestion has solved my problem. Thank you for your help!