TypeLib Xojo support Plugin

GridMeasure Module

This 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.

Example how to get header height in REALbasic 5.5 and later:

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 = 0Use this constant together with the GetMeasure function to get the header height.
ContentAreaHeight = 1Use this constant together with the GetMeasure function to get the height of the scrolling content.
ContentAreaWidth = 2Use this constant together with the GetMeasure function to get the width of the scrolling content.
ScrollbarWidth = 10Use 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.