StyleGrid REALbasic Plugin |

# GridMeasure Module

his module defines measure constants for the GetMeasure function in the Einhugur Grid controls.
REALbasic versions before REALbasic 5.5 did not support constants. So on older REALbasic versions then use the constant value rather than the constant it self.
Note
This module is defined in the TypeLib plugin.
Dim myHeaderHeight as Integer
myHeaderHeight = StyleGrid1.GetMeasure(GridMeasure.HeaderHeight)
Example how to get header height in REALbasic older than 5.5:
Dim myHeaderHeight as Integer
myHeaderHeight = StyleGrid1.GetMeasure(0)

module GridMeasure

#### Constants

HeaderHeight = 0 | Use this constant together with the GetMeasure function to get the header height.
ContentAreaHeight = 1 | Use this constant together with the GetMeasure function to get the height of the scrolling content.
ContentAreaWidth = 2 | Use this constant together with the GetMeasure function to get the width of the scrolling content.
ScrollbarWidth = 10 | Use this constant together with the GetMeasure function to get the width of the scrollbar. The width of the scrollbar will vary between operating systems and between Linux themes.