[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

VB.Net Datagridview equivalent property for VB6 msflexgrid.isrowvisible

Posted on 2010-03-22
7
Medium Priority
?
1,866 Views
Last Modified: 2013-11-26
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

0
Comment
Question by:dwknight
  • 3
  • 3
7 Comments
 

Author Comment

by:dwknight
ID: 28314682
Thanks Abarj, but I wanted to migrate completely to VB.NET technology - specifically the datagridview control.
0
 

Author Comment

by:dwknight
ID: 28323218
I wanted to amend the previous statement - I have a project requirement to use the datagridview control.
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
LVL 16

Expert Comment

by:13598
ID: 28348197
In datagridview you would use the visible property.
If true is visible if false is not.
0
 
LVL 16

Accepted Solution

by:
13598 earned 2000 total points
ID: 28348366
if Datagridview.rows(rowindex).visible  then
or
if Datagridview.currentrow.visible then

depending on how you are getting the row.
0
 
LVL 16

Expert Comment

by:13598
ID: 28348638
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
0
 

Author Closing Comment

by:dwknight
ID: 31705903
Your suggestion has solved my problem. Thank you for your help!
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question