?
Solved

something equivalent to .scaleheight in MSFlexGrid

Posted on 2004-04-27
2
Medium Priority
?
243 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
[X]
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
2 Comments
 
LVL 27

Accepted Solution

by:
Dabas earned 150 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
Suggested Courses
Course of the Month13 days, 13 hours left to enroll

800 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