Equivalent of Delphi SpeedButton

  • Thread starter Thread starter Steve Thackery
  • Start date Start date
S

Steve Thackery

I'm a complete newbie to C# and .Net programming, and am just learning the
environment by rewriting one of my existing Delphi apps from the ground up
in C# 2008 Express.

I've got a row of buttons which I want to work like radio buttons - that is,
one of the buttons in the row is "down", and clicking on another button
makes that one "down" and the previous one "up".

Obviously I could use radio buttons for this, but they look so ugly in
modern applications. Delphi offers a TSpeedButton, which has a property
called "GroupIndex". By setting several buttons to the same GroupIndex they
work just like radio buttons, but with the more pleasing appearance of a
normal button.

It must be possible to do this in Visual Studio - I'm sure I must be missing
something really obvious. If anyone could help I'd really appreciate it.

SteveT
 
It must be possible to do this in Visual Studio - I'm sure I must be
missing something really obvious. If anyone could help I'd really
appreciate it.

Use Radio Buttons and set the Appearance property to Button. You will need
to group them in a panel or Group Box.
 
Use Radio Buttons and set the Appearance property to Button. You will need
to group them in a panel or Group Box.

Ah, perfect! Thank you very much, Jeff.

SteveT
 

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