How do I show a symbol relevant to the current ListBox selection?
Wednesday 10 October 2001 12:44 PM
I'm having problems with VB6. I need to insert a
list box to show countries.
This is for a currency converter I need for a college assignment.
I can input the list box, but can't figure out how to select a country
in the list box.
say the list box contained A,B,C,D countries.
I want a currency symbol to be displayed in a label box when say
I use the visible function and set it to true, but this displays the
symbol if I select A,B,C or D.
If you can help me with the correct code I need, I'd be most helpful.
Create a Listbox called List1 and a Label called Label1.
Add 'Euro', 'Japan', 'UK' and 'USA' to the list.
Add this code:
Select Case List1.Text
Is this what you want? If not,
me and let me know what you want to do.
I am using a data combo to drop down a list of items. eg.
Item 1 costs $20.00
Item 2 costs $35.00
How do I get to input the cost of a particular item into a label that corresponds to the item selected in the data combo?
Label1.Caption = Combo1.Text
Monday, December 9, 2002 at 00:39:22
could be very helpful, thanks
Martin Allen 1999 - 2011. Last updated
Monday 08 August 2011 08:01:17 PM +0100.