Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / March 2008

Tip: Looking for answers? Try searching our database.

Equivalent of Delphi SpeedButton

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve Thackery - 25 Mar 2008 15:32 GMT
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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.