[VB .NET] [Controls] SplitButton Control-VBForums
Results 1 to 2 of 2

Thread: [VB .NET] [Controls] SplitButton Control

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2009
    Posts
    629

    [VB .NET] [Controls] SplitButton Control

    For my program I needed a splitbutton, but I had to convert it from c# to vb .net. Original source:
    http://blogs.msdn.com/b/jfoscoding/a...10/491523.aspx


    Usage:
    After adding it to your form (like any other control), add a contextmenustrip. Set the "ContextMenuStrip" property of the added SplitButton to this contextmenustrip. Finally, add some menuitems to the toolstrip or maybe change its layout a bit.

    To open the context menu, click on the arrow. To click the button, click outside this arrow (on the text). When pressing space it will click the button, any other key will activate the dropdown menu.
    Attached Files Attached Files

  2. #2
    PowerPoster formlesstree4's Avatar
    Join Date
    Jun 2008
    Location
    On the Internet
    Posts
    3,216

    Re: [VB .NET] [Controls] SplitButton Control

    Good control, but right clicking will still show a ContextMenuStrip...is there a way to kill that?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.