Click or drag to resize

DrawObject.HitTest Method

X#
Determine if a given point lies within the bounding box of a DrawObject object.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD HitTest(
	oPoint
) AS USUAL CLIPPER
Request Example View Source

Parameters

oPoint (Optional)
Type: Usual
The point to test for inclusion.

Return Value

Type: Usual
TRUE if the point lies within the bounding box of the DrawObject object; otherwise, FALSE.
Remarks
This method should be provided by objects in classes subclassed from DrawObject, when behavior other than the default behavior is required. When HitTest() is invoked, it does the following by default:
X#
1RETURN(SELF:BoundingBox()):PtInRect(oPoint)
See Also