ComponentOne List 8.0 for ActiveX
PointAt Method (TDBCombo)

 

TDBCombo Reference> TDBCombo Methods> PointAt Method (TDBCombo)

PointAt Method (TDBCombo)

The PointAt method returns one of the constants in the preceding list, which indicates the kind of control element beneath the specified coordinate pair.

Syntax

object.PointAt(x, y)

Arguments

x and y are singles that define a coordinate pair in twips.

Return Value

Remarks

Method applies to TDBList and TDBCombo controls.

Run Time

0 - Not in List

dblNotInList

1 - At List Caption

dblAtCaption

2 - At Split Header

dblAtSplitHeader

3 - At Split Size Box

dblAtSplitSizeBox

4 - At Row Select

dblAtRowSelect

5 - At Row Size

dblAtRowSize

6 - At Column Header

dblAtColumnHeader

7 - At Column Footer

dblAtColumnFooter

8 - At Column Size

dblAtColumnSize

9 - At Data Area

dblAtDataArea

 

This method is useful when working with mouse and drag events when you are trying to determine where the user clicked or dropped another control in terms of a control element.

Note: You must convert the x and y arguments to twips, even if the container's ScaleMode (Visual Basic) setting specifies a different unit of measurement.

See Also

TDBList and TDBCombo Controls

 

 


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

Product Support Forum  |  Documentation Feedback