bright, fresh software
Downloads  |  Buy

SplitButton control, written in C#

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
BBCode is OFF
Smilies are ON
Topic review
   

Expand view Topic review: SplitButton control, written in C#

Re: SplitButton control, written in C#

Post by Sam » February 13th, 2013, 2:12 pm

Just edit the paint method.

Re: SplitButton control, written in C#

Post by Allen » February 11th, 2013, 5:05 pm

Hi,
thanks for the SplitButton - it works great and looks good. Unfortunately with one little exception :)
The text of the button is placed exactly one pixel lower than on normal WinForm buttons.
Wouldn't notice this if there wasn't a normal button directly besides my splitbutton.
Do you have an idea how to fix this?

I'm developing with .NET 3.5 and experience this problem with Win XP. Haven't tested
it with Win 7 yet.

Thanks & cheers

Re: SplitButton control, written in C#

Post by Sam » May 21st, 2012, 12:07 pm

The SplitButton doesn't support the flat style (as per design). You can always add it. It's failry simple to do.

Re: SplitButton control, written in C#

Post by cryo75 » May 21st, 2012, 11:53 am

Hi,

Download the splitbutton control. One problem with it is that the control doesn't handle flat style, flat style appearance and background color at all.

Is there a way to get it to work?

Re: SplitButton control, written in C#

Post by Sam » August 14th, 2011, 3:00 pm

  1. Add the button to your form.
  2. Use the SplitMenu or SplitMenuStrip properties.

Re: SplitButton control, written in C#

Post by CTPECC » August 11th, 2011, 3:16 am

I can't find anyway the tutorial how to use your SplitButton component. Please help.

Re: SplitButton control, written in C#

Post by Sam » June 21st, 2011, 8:29 pm

When we wrote the SplitButton the custom background color property was a second class citizen. By default the splitbutton uses Windows default styling (i.e. the correct way). If you want to use custom colors you can edit the source code. Specifically look at the drawing code.

Re: SplitButton control, written in C#

Post by Pen » June 21st, 2011, 3:51 pm

Pretty nice control but there is a problem with the backcolor property: if you give the control a custom background color and use a Classic Windows desktop background it works perfectly but if you change the desktop to Aero the custom background color change to some standard color.

Re: SplitButton control, written in C#

Post by Sam » November 26th, 2010, 12:11 am

Ok, I've fixed it. Redownload the SplitButton.


Thanks for spotting this.

Re: SplitButton control, written in C#

Post by fred » November 25th, 2010, 10:36 am

Hello

Thanks for your nice control
but there is a color issue.

the ForeColor property is not working.

cheers

fred

Top