-
Nov 13th, 2012, 03:48 PM
#1
Thread Starter
New Member
-
Nov 14th, 2012, 10:10 PM
#2
Addicted Member
Re: New to VB, Need Help With Basics
Your form controls won't change unless you tell them to change. Declaring a variable (DecPrice) and assigning it a value doesn't tell your form to change.
I'm guessing txtCarDaily is your TextBox. You're on the right track with the second, but you're not actually making your TextBox be 37.5 . You're going to assign decPoloDaily to its .Text value.
Also, are you supposed to use TextBoxes or do you have a choice? If so I would go for Labels. TextBoxes imply the user can edit them and do something with it.
-
Nov 15th, 2012, 04:21 AM
#3
Re: New to VB, Need Help With Basics
vbnet Code:
'
If rdoPolo.Checked = True Then
txtCarDaily.Text = decPoloDaily.ToString
End If"
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
|