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
 

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

Back
Top