|
-
Aug 10th, 2012, 10:45 PM
#1
Thread Starter
New Member
Listbox text stored as decimal variable
Hi,
I am sorry ahead of time for being a first time poster and posing what might be an obviously simple question. I googled and youtubed my brains out first.
In my program I want to:
Have a listbox that says: 10 gauge , 8 gauge, 6 Gauge, etc
When a user selects "10 Gauge"
I want to assign the value .000129 to it and display it in a label (or textbox)
I ALSO want to use the value .000129 in a calculation.
So basically (ListItem = "10 Gauge" = .000129)
Does that make sense? Should I just elaborate on the whole program?
Thank you very much for your time.
My previous program incorporated radio buttons nexts to labels and I gave the value to the radio button, however I have MANY more wire sizes I would like to add and it looks silly with all the buttons.
Last edited by station2station; Aug 10th, 2012 at 11:23 PM.
Reason: Editing
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|