Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to drag a groupbox when the mouse is hovering over something inside the group box.

Status
Not open for further replies.

RROBALDO

Programmer
May 22, 2020
1
US
I've created a small application with multiple groupboxes that can be dragged to different panels in the form.
It works fantastic EXCEPT if the user is hovering over a component inside the groupbox such as an editbox label, chart,etc...

When that happens, the groupbox does not drag/drop. The user has to position the mouse over whitespace, or the groupbox frame/caption.

How can I get the drag/drop to work on the groupbox if the cursor is on a child of the groupbox?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top