-
Since the display size is large and small, the display standard is.
And so on, it is impossible for VB to consider the application development so comprehensively.
It is recommended to set the property StartUpPosition of the main form to 1 or 2, set the property of the main form to 2 or set it in the form load event of the form:
In addition, the size of the form needs to be considered, and the relative size of each control on the form needs to be adjusted, otherwise the interface will be uncoordinated.
private sub form_load()= vbmaximized
end sub
private sub form_resize()= *
end sub
-
This one is relatively simple, change to no title bar in the form style, and maximize the startup at startup.
-
1. First of all, open the VBA in the development tools.
2. Enter some content in the Shan Jinfan Yuan Grid area as an example.
3. Insert the module into the VBA.
4. Enter the following ** pure companion in the module, and then run private sub userform initialize().'The height of the form is equal to the height of the excel program'The width of the form is equal to the width of the excel program end sub.
5. Use shortcut keys.
F5 runs the form, the form is displayed in full screen.
-
1. First of all, open the VBA in the development tools.
2. Enter some content in the cell area as an example.
3. Insert the module into the VBA.
5. Use the shortcut key F5 to run the form, then the form will be displayed in full screen.
-
VB can set the windowstate property of the form to 2 to maximize the form runtime.
windowstate property, which returns or sets a value that specifies the visual state of the form window at runtime.
This setting can be set on the form properties page or in **.
private sub form_load()= vbmaximized
end sub
-
Set the windowstate property of the form to 2-maximized
-
== This is the same size as the length and width of the setting form and the resolution of the screen, which is equivalent to a full screen.
If so, it's just a matter of maximizing the form, but the size of the form is actually the same as the original when the window size is restored.
features: 1.Truly become object-oriented and support inheritance language.
2.The Form Designer supports visual inheritance and includes a number of new features, such as automatic resize of forms, support for resource localization, and built-in support for XML data in the data class tool.
3.Directly built on. .NET framework structure, so developers can take full advantage of all. .NET platform features can also be used with other ones. .NET language cross-beam or object interaction.
4.XCOPY deployment is provided for Windows applications, so developers no longer need to worry about DLL versioning.
It is said that after cutting off a cut of eyelashes, the new ones will grow longer and denser? Don't be in a hurry to do it first, Sister Bao will tell you if this is true or not
Hehe. I also say I want to go to bed at 12 o'clock every day, but I don't go to bed until 12 o'clock every day... And my friends around me all hit ** to remind me to sleep, but I still can't change it. >>>More
After learning for a period of time, you can look far away and maintain your eyesight.
The purpose of sleeping, forcing yourself to sleep, you can use some sleeping pills, but there are some negative effects; If you fall asleep naturally, you can try to fall asleep earlier than before in a quiet environment, you can smoke some lavender essential oil, which can regulate the nerves, but the effect is slow, and it has to be adjusted for a long time, and there is no negative effect You can drink a glass of milk before going to bed.