How is the form designed to move with the movement of the mouse?

Updated on technology 2024-04-16
3 answers
  1. Anonymous users2024-02-07

    The premise is that label1 is already in this range, otherwise it will have to be dragged to death.

    private sub label1_mousemove(button as integer, shift as integer, x as single, y as single)

    if md = true then

    a = + x - px)

    b = + y - py)

    if a > 2520 and a < 4560 and b < 3840 and b > 1320 then

    a, bend if

    end if

    end sub

  2. Anonymous users2024-02-06

    label1 is already in this range, private sub label1 mousemove(button as integer, shift as integer, x as single, y as single).

    if md = true then

    a = + x - px)

    b = + y - py)

    if a > 2520 and a < 4560 and b < 3840 and b > 1320 then

    a, bend if

    end if

    end sub

  3. Anonymous users2024-02-05

    Move the mouse pointer over the Title Bar and drag to move the window position.

    The title bar is located at the very top of the window and is used to display the current application name, file name, and so on. In many windows, the title bar also contains program icons, minimize, maximize, restore, and close buttons, and help buttons that make it easy to manipulate the window.

    A window is the basic unit that an application sets up in a graphical user interface to consume data. Applications and data are integrated within the window. In the window, users can operate the application in the window chain, manage data, and make peace.

    Usually there are menus, icons around the window, and the data is placed in **. Window interface refers to the display of the user interface of computer operation in the form of a window.

    Commonly used computer knowledge tips

    1. Sometimes you have to leave the computer to do other things, and you don't want others to peek at your computer, press the windows key and the L key, so that the computer will lock the screen directly, so that you don't have to worry about the data leakage of the computer!

    Windows L lock screen.

    2. I want to open my computer to find files, but there are too many desktop icons and I can't find the "My Computer" icon, so you can gently press the windows key and E key to open my computer directly!

    Windows E calls out my computer.

    3. This trick is particularly useful for office workers, when the boss suddenly comes to inspect, and you are not doing your job, then you only need to press the windows key and the D key directly, and look, the desktop flashes!

    Windows D displays the desktop.

    4. Press the Windows key and Tab key to display the switch window with 3D effect!

    Windows Tab toggle window.

Related questions
12 answers2024-04-16

First, select the widget you want to generate the mouse movement event. >>>More

9 answers2024-04-16

The easiest way!! Power off – Unplug the mouse --- power it on. See if the phenomenon you are talking about exists without a mouse. If it still exists, it is a computer system problem, if the mouse pointer is on the monitor**, it means that there is a problem with your mouse

8 answers2024-04-16

tooltiptext property.

Go back or set a tooltip. >>>More

6 answers2024-04-16

Whether there is a problem with the computer system, whether it is poisoned, caused by a Trojan horse, you can solve it yourself, everyone understands... >>>More

10 answers2024-04-16

So polite, what about small things, there are so many possibilities: >>>More