Visual Basic10 small programming

zhaozj2021-02-16  58

1. If a line is too long, can you change it? The VB program code is allowed to write, as long as the last character of each wrap is added to the wrap character "_". For example: SUB PICMOVE () frm.picture2.left = frm.picture1.left _ 'plus wrap frm.picture1.width End Sub 2, how to empty the existing picture when design? Use the Picture property in the property window in the Properties window, press Del to clear the picture. 3, how do Visual Basic notes a longer program code? The symbol of the VB comment program code is "'", as long as "'" is added in front of a single line, you can comment. However, if the program code is long, a line of comments feel unbearable. The VB itself provides this feature. Under the "Toolbar" of the main menu "View" option, select the Edit, VB interface, a row of tool buttons, two buttons after the hand-shaped button are used for "Settings Comment Block "And" Release Notes Block ".

转载请注明原文地址:https://www.9cbs.com/read-22285.html

New Post(0)