Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Grid Control row height of empty rows
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Grid Control row height of empty rows

 Post Reply Post Reply
Author
Message
Focus View Drop Down
Newbie
Newbie


Joined: 12 November 2024
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Focus Quote  Post ReplyReply Direct Link To This Post Topic: Grid Control row height of empty rows
    Posted: 12 November 2024 at 9:17am
This has been true for quite some time and is still there in the latest 24.0 version but I've never gotten to the bottom of it.

The height of a grid row when it is empty is a fraction, maybe one pixel, shallower than when data has been entered into it

You can see this by creating a simple input grid and enter a bit of text

When you move down a row look at the bottom of the grid and you will see the grid lines 'jump' down

This isn't really a great problem until you want to put two grids side by side and the grid lines are at slightly different heights depending on how much data is in each grid

It's almost like when it is measuring to see how high the empty row should be it's using a non system font or not allowing for descenders or something like that  

Changing things in MeasureRow only effects rows with data not the ones without

Does anyone know how the grid control calculates the height of an empty row and is there any property I have missed that influences this ?

Thanks
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.173 seconds.