Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: VB4/32,VB5,VB6
Expertise: beginner
Jan 22, 2000



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Add size grips to a form

There are two simple ways to add the so-called size-grips to the bottom-right corner of a form. The first method is to add a StatusBar control, which includes a size-grip of its own. The second method is to add a multiline TextBox control, set its ScrollBars property to 3-Both and add some resizing code that resizes the TextBox so that its lower-right corner coincides with the form's corner:

Private Sub Form_resize()
    Text1.Move 0, 0, ScaleWidth, ScaleHeight
End Sub
Francesco Balena
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date