I am using a user pop up as a small dialog. I want to be able to move it around the screen with the mouse – so have set Movable = true.
The problem I am running into is that you can only move it so far. It suddenly stops – and you can no longer move. Also if you have moved it close to the point where it stops – and then you click on it – sometimes it will jump back a little bit. Hard to explain. But please see the attached sample project.
Click the [Launch Poup] button – then try moving the pop up. You’ll see that you can move it – but not over the entire window as you would expect to be able to. Its like it has an invisible boundary and the boundary seems a bit eratic too. Very strange behavior.
Is this some property settings that I do not understand? Or a bug?
Thanks in advance for your help.
Public Sub Display() Me.Show() Me.Location = MousePosition Me.BringToFront() End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim pop As New UserPopup1 pop.Parent = Me pop.Display() End Sub
The UserPopup control was not enabled for being movable, just resizable.
When Wisej creates the UserPopup control is creates it inside a floating popup widget (it has to be able to go over anything, like a combobox dropdown or a menu) so the widget you are creating is actually inside another, the popup.
With the movable property set to true, you end up moving your UserPoup inside the original location of the real popup. We had the same issue with Resizable.
Will log the issue.
Please login first to submit.