DragButton Property

Applies to:  SubClasser object, PowerForm control
See also:  DragStartX Property, DragStartY Property, Property Index

If the mouse is being dragged within the subclassed window, the DragButton property will return a value indicating which button is down, otherwise the DragButton property will return 0. 

Read Only at run-time, not available at design-time.

Type:

MouseButtonConstants

Return Values:

Value Meaning
vbLeftButton Left mouse button
vbMiddleButton Middle mouse button
vbRightButton Right mouse button
0 None of the above

 

Home

Copyright and Disclaimer