How does VB build a digital scrollbar, an integer from 1 to 10?

Updated on technology 2024-04-15
14 answers
  1. Anonymous users2024-02-07

    In the properties window, set max to 10 and min to 1

  2. Anonymous users2024-02-06

    Start by setting the max property of the scrollbar to 9

    Then set the min property of the scrollbar to 1

    After transporting the slag line, drag the mill to move the scroll bar quietly, add a button, and write the following wandering **.

    msgbox scrollbar name. value

  3. Anonymous users2024-02-05

    1. Create a new project and adjust the interface size of the software.

    2. Add a ** to the interface.

    3. Then click on the scroll bar. Draw into the interface, like this. So the interface is built.

    4. Next, add **space**, pull the scroll bar on the right, and find picture.

    5. Add ** to him on the button on the right side of the picture.

    6. Pull the scroll bar, find autoredraw, and autosize to set it.

    7. Select scroll in the upper right corner and enter the corresponding **.

    8. Run it.

  4. Anonymous users2024-02-04

    Here's how:

    1. Create a new project and adjust the interface size of the software. Add a ** to the interface. As shown in Figure 2, draw it into the interface, as shown in Figure 3, 2, and then click the scroll bar. Draw into the interface, like this. So the interface is built.

    4. After that, you need to make the settings. Similarly. Pull the scroll bar and find autoredraw, and autosize. All set to true is this one's auto-redraw, auto-adaptation. so that the full picture is displayed.

    5. The next question is the first one. Double-click the control, and the window will enter automatically. In the upper right corner, select both scroll and scroll at the same time, it will be more beautiful. Write both into **( = -( * and you're fine.)

  5. Anonymous users2024-02-03

    The format in which the random number is returned.

    With a for the lower bound and b for the upper bound, the following command can return any number between a and b int(rnd()*b-a+1))+a

    You are going to generate a number between 1 and 10 and display it on the text box. Assuming this text box is text1, that's fine.

    str(int(rnd()*10)+1)

  6. Anonymous users2024-02-02

    It is recommended to take the child to do a dilated eye refraction to distinguish between true and false myopia

    Analysis: Hello! 10-year-old children's vision is one yes and one is, and this does not necessarily need to be treated in both eyes.

    Guidance: If there is such a problem in the eye, first of all, it is necessary to go to the ophthalmology department of the hospital as soon as possible to check and **, including dilated eye examination, if it is a low degree of hyperopia, even if it can be seen, it is also necessary to wear glasses**.

  7. Anonymous users2024-02-01

    Numbers without a decimal point are integers.

  8. Anonymous users2024-01-31

    1. There are no positive integers, only integers, you define them as integers and then add a condition.2, for example, the integer variable you define is called a, you just do something with a>=0.

    3、dim a as long 'Define a as the integer a = abs(a).'Take the absolute value of a to ensure that it is positive. (0, of course, is also excluded).

    Hope it helps.

  9. Anonymous users2024-01-30

    dim a as long 'Define a as the integer a = abs(a).'Take the absolute value of a to ensure that it is positive. (0, of course, is also excluded).

  10. Anonymous users2024-01-29

    There are no positive integers, only integers, you define them as integers and then add a condition.

  11. Anonymous users2024-01-28

    Create a new form, draw a text box, a horizontal scrollbar, two tabs, and write:

    private sub hscroll1_change()=

    end sub

    In this way, when the program is running, click on the horizontal scroll bar and the corresponding number will be displayed in the text box.

  12. Anonymous users2024-01-27

    The question is what function you want to achieve after clicking on the arrows at both ends of the scrollbar.

    Explain white points, such as what happens when you click the arrows at the ends of the scrollbar, the form closes, or the text properties change.

    There is also the clarification of whether it is a horizontal scroll bar or a vertical scroll bar.

  13. Anonymous users2024-01-26

    = true

    2 Or select the Chinese box, which can be set in the property page in the lower right corner.

  14. Anonymous users2024-01-25

    Change the mulitline property of text1 to true and set scrollbars to 2.

Related questions
15 answers2024-04-15

It's similar to a calculator.,Numbers can be entered on the interface.,You can also use the keyboard to enter.,Later dedicated**!! >>>More

10 answers2024-04-15

1) Press-in method.

When the inner bore of the bearing fits tightly with the journal and the outer ring fits loosely with the housing, the bearing should be installed on the shaft first, as shown in Figure 9-33a; Otherwise, the bearing should be pressed into the housing first, as shown in Figure 9-33b. If the inner bore of the bearing fits tightly with the journal, and the outer ring fits tightly with the housing, the inner bore and the outer ring of the bearing should be installed on the shaft and the housing at the same time, as shown in Figure 9-33c. >>>More

3 answers2024-04-15

The web page is the carrier of content, services and other information, just like the bus passenger station and the bus, which is equivalent to the bus station, and the web page is equivalent to the bus; >>>More

9 answers2024-04-15

I'm also the squad leader, hehe

But I'm a girl, and I'm in my third year of high school >>>More

9 answers2024-04-15

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