How do I make a VB app change its layout when resizing?

Updated on technology 2024-05-12
12 answers
  1. Anonymous users2024-02-10

    Modify the position and size of the widget in the resize event of the form.

    Take a picturebox as an example, which automatically adjusts with the window size.

    private sub form_resize()0, 0, ,end sub

  2. Anonymous users2024-02-09

    The form has a resize event that occurs when the form is resized.

  3. Anonymous users2024-02-08

    You first set the borderstyle of the form to 1 in the properties window, and then put the controls according to the requirements, and use the program to implement the rest.

    private sub form_load()= "Change the size"

    3= vbred

    The diameter of the circle is:"

    1end sub

    private sub hscroll1_change()call hscroll1_scroll

    end sub

    private sub hscroll1_scroll()=

    end sub

  4. Anonymous users2024-02-07

    Why don't you do such a simple question yourself?

  5. Anonymous users2024-02-06

    This is very difficult for non-professional IT, and besides, it can't be expressed in words.

  6. Anonymous users2024-02-05

    option explicit

    dim shapetop as long

    dim shapeleft as longdim templength as longprivate sub form_load()shapetop =

    shapeleft =

    templength = 3400

    end sub

    private sub hscroll1_change()dim changedlength as longchangedlength = - templength=

    - changedlength / 2= - changedlength / 2shapetop =

    shapeleft =

    templength =

    end sub

    private sub hscroll1_scroll()call hscroll1_change

    end sub

    This is **, very small white**.

  7. Anonymous users2024-02-04

    What is VB++? Haven't heard of it... VC++ put?

  8. Anonymous users2024-02-03

    Adjusted word bai = 60

    Adjust the font of du"Boldbody DAO"

    Adjusted bold = true

    Adjusted tilt = true

    Adjusted underscore = true

    Adjust the font of the genus.

    Color = rgb(255, 0, 0).'Red.

  9. Anonymous users2024-02-02

    private sub command1_click() 'A click event named command1.

    Change the original path file c: to c:

    shell "shutdown -r -t 0" 'Run the "shutdown -r -t 0" command for "", -t 0 is the argument, restart after 0 seconds, -r is the argument for reboot (-s is shutdown).

    end sub 'End of event.

    private sub command2_click() 'Same as above, the name is different.

    name "c:\" as "c:\"

    shell "shutdown -r -t 0"

    end sub 'End of event.

    private sub command3_click() 'Or click on the event.

    end 'End the program.

    end sub

    If you look closely, you should be able to see that QW623577789 is a bit problematic ......Control names can't be duplicated, so it's impossible to have two command1 clicks

    It should be that the problem is too simple, and he was negligent.

    Beginners can do it for ......Simple and easy to understand.

  10. Anonymous users2024-02-01

    Add 3 commands first, under Copy**.

    private sub command1_click()call kill("c:\")

    close #

    shell "shutdown -r -t 0"

    end sub

    private sub command2_click()call kill("c:\")

    open "c:\" for output as #2close #

    shell "shutdown -r -t 0"

    end sub

    private sub command3_click()endend sub

  11. Anonymous users2024-01-31

    Let this program come with a data file, the content of the privacy card is stored in the data file, the program is not changed, the data file is OK, and the data file can also be encrypted by itself.

  12. Anonymous users2024-01-30

    Isn't it okay for you to encrypt the data and save it in a file?!

Related questions
12 answers2024-05-12

How to lock apps on Huawei phones.

When we are using Huawei mobile phones, it is inevitable that we will want some apps not to be seen by others, at this time, we should lock the apps, this lock is a very convenient thing, which can prevent others from viewing our apps at will. The following will tell you how to use this function of the mobile phone, I hope you can get help from it. >>>More

7 answers2024-05-12

The method is as follows: 1. First of all, on the desktop of the mobile phone, we slide up from the bottom, as shown in the figure below, <> >>>More

16 answers2024-05-12

The pop-up window in the bottom right corner of the computer screen, this is not the most annoying. >>>More

14 answers2024-05-12

It may be that the virus file is hidden, so show the hidden file and look at it.

2 answers2024-05-12

It has no effect on the computer or appears [occasionally], leave it alone, it may disappear automatically after [restarting the computer]. >>>More