-
Apr 19th, 2006, 11:27 AM
#1
Thread Starter
Addicted Member
[RESOLVED] problem with a checkbox
ok i have a form that collects product information and then spits out html code for me so i dont have to do it.
ok everything works great but one checkbox
i have a tabcontrol and then all my boxes and input crap in them
there is one checkbox i need default on and it just wont stay on. ive tried the properties, putting default to checked. i tried putting in the form load to check it.
any other ideas or anyone knows why this thing wont check.
any help appreciated.
-JLR
-
Apr 19th, 2006, 11:38 AM
#2
Re: problem with a checkbox
Originally Posted by ikaris69
...any other ideas or anyone knows why this thing wont check...
You're most definitely explicitly resetting the Value property.
Search your module(s) for something like "Check1.Value = " and find all occurences.
-
Apr 19th, 2006, 11:56 AM
#3
Re: problem with a checkbox
Better yet, go to the Debug|Add Watch window and
- Enter Form1.Check1.Value as the Expression
- Select (All Procedures) as the Procedure
- Select Form1 as the module
- Select Break when value changes
and run the program
-
Apr 19th, 2006, 12:02 PM
#4
Thread Starter
Addicted Member
Re: problem with a checkbox
hmm i dont have that under debug at the top right?
im using visual basic 2005 express right now.
sorry ima big noob
-
Apr 19th, 2006, 12:06 PM
#5
Re: problem with a checkbox
I don't remember VB5 that well and I'm not sure about the Express version but don't you have a Debug menu item on the same menu bar as File and Edit? If not then do View|Toolbars and check the Debug menu.
-
Apr 19th, 2006, 12:13 PM
#6
Re: problem with a checkbox
VB5 ???
VB2005 ... different from VB5.... by about 10 years....
MAybe this should be moved to the VB.NET forum instead?
-tg
-
Apr 19th, 2006, 12:14 PM
#7
Thread Starter
Addicted Member
Re: problem with a checkbox
sweet i figured it out. but in my code i was having the form being filled out by the current array so when the form first load it fills it out with no values and so all i did was gave a default value of true to variable that was to go into the checkbox.
thanks for your help guys.
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
|