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
Jeff Gaines - 25 Mar 2008 17:26 GMT
On 25/03/2008 in message <uC4MPUojIHA.1188@TK2MSFTNGP04.phx.gbl> Steve
Thackery wrote:
>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.

Signature
Jeff Gaines
Steve Thackery - 26 Mar 2008 01:46 GMT
> 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