ComponentOne True DBGrid Pro 8
FetchScrollTips Event

 

Object Reference> True DBGrid Events> FetchScrollTips Event

FetchScrollTips Event

If the ScrollTips property is True, the FetchScrollTips event will be fired whenever the grid has focus and the scrollbar thumb is moved using the mouse.

Syntax

TDBGrid_FetchScrollTips (ByVal SplitIndex As Integer, ByVal ColIndex as Integer, Bookmark As Variant, ByVal ScrollBar as ScrollBarsConstants, ScrollTip As String, ByVal TipStyle As TrueOleDBGrid80.StyleDisp)

TDBDropDown_FetchScrollTips (ByVal ColIndex as Integer, Bookmark As Variant, ByVal ScrollBar as ScrollBarsConstants, ScrollTip As String, ByVal TipStyle As TrueOleDBGrid80.StyleDisp)

Arguments

SplitIndex is the zero-based index of the split that the scrollbar is associated with. This argument is omitted for TDBDropDown controls.

ColIndex is the leftmost column in the current split.

Bookmark is a variant that uniquely identifies the topmost grid row.

ScrollBar identifies the scrollbar that was moved (dbgVertical or dbgHorizontal).

ScrollTip contains the text to be displayed in the pop-up text box.

TipStyle is a Style object used to override the font and color characteristics of the scroll tip text.

Description

By setting the properties of the TipStyle object, you can control the background color, text color, and font of the pop-up text box. By default, the TipStyle object uses the system ToolTip colors and the font attributes of the current split.

See Also

TDBGrid Control

TDBDropDown Control

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback