Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

something equivalent to .scaleheight in MSFlexGrid

Posted on 2004-04-27
2
240 Views
Last Modified: 2013-12-25
Hi all,

MSFlexGrid control does not support .scaleheight property.
I need something equivalent to it in order to discover when
a row is hidden by the scroll bars (.IsRowVisible does not work,
it returns TRUE even when the row is hidden by the scroll bar).

Any clue?

Thank you very much,

rr.
0
Comment
Question by:rrgw
2 Comments
 
LVL 27

Accepted Solution

by:
Dabas earned 50 total points
ID: 10933348
Hi rrgw:
I suggest playing around with and expression such as: MSFlexGrid1.Height / MSFlexGrid1.RowHeight
This should return the number of visible rows. You can then take it from there.

Dabas
0
 

Author Comment

by:rrgw
ID: 10934577
Thank you, dabas.

rr.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

856 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