resizing

S

Supra

have 4 controls but i couldn't figure it out...
richtextbox1 dock to left., splitter1 dock to left, listbox1 dock to
left and textbox1 dock to bottom. how do i resizing splitter to left
or right while listbox moving to left or right
regards,
 
S

Supra

Private Sub frmChannel_Resize(ByVal sender As Object, ByVal e As
System.EventArgs) Handles MyBase.Resize
Splitter1.Top = RichTextBox1.Top
Splitter1.Height = RichTextBox1.Height
Splitter1.Left = RichTextBox1.Left + RichTextBox1.Width
End Sub
 
H

Herfried K. Wagner [MVP]

* Supra said:
have 4 controls but i couldn't figure it out...
richtextbox1 dock to left., splitter1 dock to left, listbox1 dock to
left and textbox1 dock to bottom. how do i resizing splitter to
left or right while listbox moving to left or right

Take a look at the splitter's 'SplitPosition' property.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top