Controls on Splitter Control

  • Thread starter Thread starter Carl Gilbert
  • Start date Start date
C

Carl Gilbert

Hi

Is it possible to position a button for instance on a splitter control so
when the splitter is moved, the button stays positioned over the splitter?

Regards, Carl.
 
Hi,

You will have to move the button in the splitters move event.


Private Sub Splitter1_Move(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Splitter1.Move

Button1.Left = Splitter1.Left - 5

End Sub



Ken
 
Back
Top