Downloads  |  Buy

SplitButton control, written in C#

Re: SplitButton control, written in C#

Postby Sam » September 3rd, 2010, 10:37 am

They're arbitrary values. They only add a few pixels to the height and width. I can't reproduce the issues you're having with font sizes.
User avatar
Sam
 
Posts: 3126
Joined: March 8th, 2010, 3:01 am
Location: New Hampshire

Re: SplitButton control, written in C#

Postby 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
fred
 

Re: SplitButton control, written in C#

Postby Sam » November 26th, 2010, 12:11 am

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


Thanks for spotting this.
User avatar
Sam
 
Posts: 3126
Joined: March 8th, 2010, 3:01 am
Location: New Hampshire

Re: SplitButton control, written in C#

Postby 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.
Pen
 

Re: SplitButton control, written in C#

Postby 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.
User avatar
Sam
 
Posts: 3126
Joined: March 8th, 2010, 3:01 am
Location: New Hampshire

Re: SplitButton control, written in C#

Postby CTPECC » August 11th, 2011, 3:16 am

I can't find anyway the tutorial how to use your SplitButton component. Please help.
CTPECC
 
Posts: 1
Joined: August 11th, 2011, 3:14 am

Re: SplitButton control, written in C#

Postby Sam » August 14th, 2011, 3:00 pm

[list=1:2tj35wfj]
[*:2tj35wfj]Add the button to your form.[/*:m:2tj35wfj]
[*:2tj35wfj]Use the SplitMenu or SplitMenuStrip properties.[/*:m:2tj35wfj][/list:o:2tj35wfj]
User avatar
Sam
 
Posts: 3126
Joined: March 8th, 2010, 3:01 am
Location: New Hampshire

Re: SplitButton control, written in C#

Postby 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?
cryo75
 

Re: SplitButton control, written in C#

Postby 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.
User avatar
Sam
 
Posts: 3126
Joined: March 8th, 2010, 3:01 am
Location: New Hampshire

Re: SplitButton control, written in C#

Postby 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
Allen
 

PreviousNext

Return to Open Source Support