Google Answers Logo
View Question
 
Q: Radio Buttons in VB app ( No Answer,   1 Comment )
Question  
Subject: Radio Buttons in VB app
Category: Computers > Programming
Asked by: patrice29-ga
List Price: $10.00
Posted: 02 Jan 2004 08:04 PST
Expires: 01 Feb 2004 08:04 PST
Question ID: 292367
I'm developing a Windows app in Visual Basic.
Radio Buttons are used in one location, however they're a bit plain looking.

Is there any little chunks of code available for purchase that can
improve their visual effect (make them look a little nicer/more
interesting).

Request for Question Clarification by mathtalk-ga on 03 Jan 2004 08:24 PST
Hi, patrice29-ga:

Which version of VB are you working with?

Chances are you can obtain the effects you want by setting properties
in the radio button controls or the surrounding frames, but there are
third-party controls around.

Besides color and "pattern" is there any particular visual or other
effect you are looking for?  Radio buttons exhibit mutually exclusive
settings (only one in a group can be on), and this behavior can be
imposed by your application using essentially any kind of buttons, if
that is the sort of "chunks of code" approach you would be interested
in.

regards, mathtalk-ga

Clarification of Question by patrice29-ga on 03 Jan 2004 09:27 PST
I'm using VB 5.

I was thinking of a ball that would toggle from orange to greyish (or
dark greenish). Perhaps 'ball' isn't the right word. I just mean
roundish looking effects. Roughly the same size as a radio button
would probably be preferrable though.
Answer  
There is no answer at this time.

Comments  
Subject: Re: Radio Buttons in VB app
From: davidday-ga on 13 Jan 2004 09:18 PST
 
You realize you could get the same effect of a radio button using an
image object, and just change the image.picture property during the
'Image_Click' event from one picture to the other. In other words
using the following code in the click event.

If image.picture = "greycircle.jpg" then
  image.picture = "orangecircle.jpg"
 Else
  image.picture = "greycircle.jpg"
End If

And then when you evaluate, instead of evaluting on true/false,
evaluate on the properties of the image.picture value.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy