Hello, In my program, I have added a SplitContainer with Fill on Form.
Where Panel1 keeps all Button and Panel2 keeps other objects,
I'm trying to code on SplitContainer_MouseMove event. But it does not work when i'm Panel1, If i move mouse pointer to panel2 and go again in panel1 then it returns results. But why not its returning result when my mouse Moves on Panel1 always?
Jump to Post
I suspect your problem is that the splitcontainer only captures the mouse when you move over the splitterbar. Try wiring up the mouse move event for each panel in the container like this:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load AddHandler …
All 3 Replies
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.