ComponentOne List 8.0 for ActiveX
CellTips Property (TDBCombo)

 

TDBCombo Reference> TDBCombo Control Properties> CellTips Property (TDBCombo)

CellTips Property (TDBCombo)

The CellTips property determines whether the control displays a pop-up text window when the cursor is idle.

Syntax

object.CellTips = value

Remarks

Read/Write at run time and design time.
Property applies to TDBList and TDBCombo controls.

Values

Design Time

Run Time

0 - None (default)

dblNoCellTips

1 - Anchored

dblAnchored

2 - Floating

dblFloating

By default, this property is set to 0 - None, and cell tips are not displayed.

If the CellTips property is set to either 1 - Anchored or 2 - Floating, the FetchCellTips event will be fired whenever the control has focus and the cursor is idle over a control cell, column header, split header, or control caption. The event will not fire if the cursor is over the scroll bars.

The setting 1 - Anchored aligns the cell tip window with either the left or right edge of the cell. The left edge is favored, but the right edge will be used if necessary in order to display as much text as possible. The setting 2 - Floating displays the cell tip window below the cursor, if possible.

If you do not provide a handler for the FetchCellTips event, and the cursor is over a control cell, the default behavior is to display a text box containing the cell's contents (up to 256 characters). This enables the user to peruse the contents of a cell even if it is not big enough to be displayed in its entirety. You can also program the FetchCellTips event to override the default cell text display in order to provide users with context-sensitive help.

Note: Use the CellTipsDelay property to control the amount of idle time that must elapse before the cell tip window is displayed.

Use the CellTipsWidth property to control the width of the cell tip window.

See Also

TDBList and TDBCombo Controls

 

 


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

Product Support Forum  |  Documentation Feedback