Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'find the current right alignment position
- Dim rightAlign As Integer = Label1.Left + Label1.Width
- 'set the text (assumes AutoSize is set to True)
- Label1.Text = value
- 'adjust position so the right hand point is in the same position as before
- Label1.Left = rightAlign - Label1.Width
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement