resizing

  • Thread starter Thread starter Supra
  • Start date Start date
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,
 
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
 
* 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.
 
Back
Top