Current location - Quotes Website - Personality signature - What statement should be used in VB to move the label (named Label 1) to the left by 200?
What statement should be used in VB to move the label (named Label 1) to the left by 200?
In VB, in order to move the label (named Label 1) to the left by 200, you should use the following statement:

1) move method.

Private? Sub? Form _ Click ()

Label 1。 Moving? (Label 1。 Left? -? 200)

End? The SubMove method is used to move a form, form, or control. Named parameters are not supported.

grammar

Object. Move left, up, width and height

2) Assign a value to the Left property of the label control.

Private? Sub? Form _ Click ()

Label 1。 Left? =? Label 1。 Left? -? 200

End? SubLeft property, returns or sets a Single indicating the position of the left edge of the window on the screen in twips. readable