In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article is to share with you what the six categories of VB.NET events are. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Form and picture box events for 1.VB.NET events
◆ Paint event: when an object is moved, resized or cleared on the screen, the program automatically calls the Paint event. Note: when the object's AutoDraw property is True (- 1), the program does not call the Paint event.
◆ Resize event: triggers the Resize event when the size of the object changes.
◆ Load event: applies only to form objects and runs when the form is loaded.
◆ Unload event: applies only to form objects and runs when the form is unloaded.
Current cursor (Focus) event of the 2.VB.NET event
◆ GotFocus event: an event occurs when the cursor is focused on the object.
◆ LostFocus event: an event occurs when the cursor leaves the object.
VB.NET namespace is simple and easy to learn.
A brief introduction to the birth of VB.NET
Let you know the function of VB.NET pointer
Summary of the main points of using VB.NET ANY
Application of VB.NET pointer in a comprehensive playbook
Note: Focus English for "focus", "focus" meaning, the most intuitive example is, for example, there are two forms, part of each other cover, when you click on the form below, it will all be displayed, then it is activated, and the title bar turns blue, this is the GotFocus event, on the contrary, another form is covered, and the title bar turns gray, called the LostFocus event. The "cursor" mentioned above does not refer to the mouse pointer.
Mouse action event for 3.VB.NET event
◆ Click event: a mouse click on an object.
◆ DbClick event: a double-click mouse event.
◆ MouseDown, MouseUp properties: press / release mouse button event.
◆ MouseMove event: mouse movement event.
◆ DragDrop event: drag-and-drop event, equivalent to a combination of MouseDown, MouseMove, and MouseUp.
◆ DragOver event: the DragOver event is generated when the mouse is dragged and dropped.
Keyboard action properties of the 4.VB.NET event
◆ KeyDown, KeyUp event: the press / release event of a key.
◆ KeyPress event: keystroke event.
5. Change control event
◆ Change event: triggers the Change event when the content of the object changes. The most typical example is a TextBox.
◆ DropDown event: drop-down event, used only for combo box (ComboBox) objects.
◆ PathChange event: path change event, used only for file list box (FileBox) objects.
6. Other events
◆ Timer event: used only for timers and is triggered at regular intervals.
Thank you for reading! This is the end of this article on "what are the six categories of VB.NET events?". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.