How to move the mouse to display comments in VB

Updated on technology 2024-04-08
8 answers
  1. Anonymous users2024-02-07

    tooltiptext property.

    Go back or set a tooltip.

    Grammar. [= string]

    The syntax of the tooltiptext property contains the following sections:

    Section description.

    object object expression, whose value is an object in the Apply To list.

    string A string associated with an object in the Apply To list. When the cursor hovers over an object for about a second while running, the string appears in a small rectangular box below the object.

    Example:"Click Save"

    When you move the mouse over the command1 button and stay for about 1 second, a prompt will appear"Click Save"

  2. Anonymous users2024-02-06

    Don't bother, just enter the comment in the tooltiptext property of Labble Box.

  3. Anonymous users2024-02-05

    Put a label on the form label1 When the program is running, move the mouse to display the coordinates of the mouse in the position of the mouse. ** Below:

    private

    subform_mousemove(buttonasinteger,shift

    asinteger,x

    assingle,y

    assingle)

    xy"ysub

  4. Anonymous users2024-02-04

    Just enter what you want to set in the tooltiptext property of the space you're hovering into.

    For example, if you want "OK" to appear when hovering over text1, enter "OK" in the tooltiptext property of the text1 control.

  5. Anonymous users2024-02-03

    How do I feel, the ls two are a bit of a non-answer. Hehe、Do you want to just change the position in the form and not the position on the screen。

    One: You add and add the abscissa and ordinate of the form to the x,y coordinates respectively, isn't it just that you move the mouse to the specified position of the form?

    Two: VB default unit is Ti, the ordinary resolution is generally called pixels, 1 pixel = 15 Ti, so the length of the form is converted to pixels, it should be, test it yourself. In this way, the units of VB can be converted to screen pixel units.

  6. Anonymous users2024-02-02

    If you use the clswindow framework, it's simple. ** Below:

    dim w as new clswindow=

    It can also be written like this, which is more convenient:

    dim w as new clswindow200, 0, relative

  7. Anonymous users2024-02-01

    There are two ways to move the VB cursor:

    1.Move to the specified control, shift focus:

    2.Move the specified text string position:

  8. Anonymous users2024-01-31

    Set the tooltiptext property of the button to the characters you want to display.

Related questions
8 answers2024-04-08

A practical clipboard is all it takes.

9 answers2024-04-08

Two methods:1Add an array of controls with the load method, provided you have to add a control to the form at design time and set its index property to 0, then use : >>>More

16 answers2024-04-08

There can be two kinds:

in msgbox"esta repetir numero nota" >>>More

7 answers2024-04-08

x 100) is calculated with a floating point that is of the double type, and the result is also a floating point, so that when the structure has a floating point for int conversion, the decimal rounding calculation method will be carried out, so that the result is different. >>>More

13 answers2024-04-08

y = "China's largest distance basic education service institution and online learning community provide distance education tutoring to primary and secondary school students across the country. "Top 10 Online Educational Institutions". Four middle school synchronization, audio-visual classroom, ** assessment, famous teacher Q&A, mutual help and mutual learning, parent school and other middle school columns, Olympiad Chinese mathematics, happy composition, happy English and other primary school courses. >>>More