Groups > Borland > Delphi winforms controls > Re: XP-Style for NumericUpDown?




XP-Style for NumericUpDown?

XP-Style for NumericUpDown?
Thu, 05 Oct 2006 08:08:07 +020
If I set a button's FlatStyle property to System, it is displayed in XP 
style. I don't even need to do that for a DateTimePicker - it's 
automatically displayed in XP Style. However, I cannot find a property 
that would achieve the same for a NumericUpDown, which is rather daft as 
I have a DateTimePicker with UpDownArrows (for entering a time rather 
than date) and a NumericUpDown next to each other on a form, so for the 
user they look like the same component but one has XP Style UpDownArrows 
and the other has not :-( Is there any way to get the NumericUpDown to 
display in XP Style as well?

TIA.

Post Reply
Re: XP-Style for NumericUpDown?
Thu, 5 Oct 2006 09:47:52 +0200
> and the other has not :-( Is there any way to get the NumericUpDown to 
> display in XP Style as well?

1. Develop your own component that supports the styles...

2. Wait until Delphi supports .net 2.0 which has this feature included

3. If you don't want to wait use Vs2005

Post Reply
Re: XP-Style for NumericUpDown?
Thu, 05 Oct 2006 11:42:05 +020
Horst Reichert wrote:
>> and the other has not :-( Is there any way to get the NumericUpDown to

>> display in XP Style as well?
> 
> 1. Develop your own component that supports the styles...

Don't have time for that - we're already working 10 hours a day to make 
the deadline.
> 
> 2. Wait until Delphi supports .net 2.0 which has this feature included

Again no time for that.

> 3. If you don't want to wait use Vs2005
> 
Not an option either as we're almost done and really can't rewrite 
Post Reply
about | contact