in one form there are more than 50 check boxes. how to change the check box name in design view. i tried in so many ways. i could not. please help me
Printable View
in one form there are more than 50 check boxes. how to change the check box name in design view. i tried in so many ways. i could not. please help me
Use the caption property :)
i have 100 check boxes in the frame . in run mode i can see all the check boxes using scroll bar but i could not see in design view. if i see only i can go to property and change the caption. how can i view
Maybe you have the frame covering them up. Try moving the frame.
First of all it would be best if you use a control array, for your check boxes. And i am unsure what your saying. You want to know how to use the VScrollBar control to move down the frame?
i would like to change one of the check box name. i could not see in design view how to change the name of the check box i can view only in run mode using scroll bars
Take a screenshot of your form in design time & then at run time. Attach it here so we can see your problem.
vb Code:
CheckboxX.Caption = "Name Here"
i have send the snap shot for you. please help me how to change the check box name
You you save the img as jpeg or some other format and attach it seperate from a *.doc file please.
here it iis as jpg format. thanks for your help
Okay, I see what you're saying now. Is this program code yours or from someone else? I'm guessing it's someone else's code. Chances are that they are creating the checkboxes at run time because you should be able to see them at design time otherwise. So look in the FORM_LOAD event and it's probably there where they are being created. So you should be able to change it there.
If you don't see it in the FORM_LOAD, then try uploading the project here so we can open it ourselves and see if we can help. I have VB5. What version is this in?
Select the unseen control from the dropdown list in the Properties window to modify its properties.
i have vb6.
run time i cannot see the properties. and form load i dont see anything there. in form-load i see only visible false
List out all the checkboxes in the form with index = 0 at design time. Since their index has a value (zero) then instances with index >0 can be loaded at runtime eg. Load checbox(1). Ignore non control array checkboxes.
One of these will be the cehckbox array your looking for. You will have to study the source code to determine which of them your seeing at run time.
You don't have to see the control to change its properties at design time. As long as you know the name of the control, you can select if from the dropdown list of the properties window. Does this not solve your problem, or do you just not understand what I trying to say?
Logophobic, it might be that those "missing" checkboxes are not created at design time. So he can't find them in the properties windows because they're not there. I told him to upload the project but he hasn't.
So you don't see anything in FORM_LOAD? What is set to VISIBLE = FALSE there? You don't see any subs being called? Does the project have a module? Check there. Also, double click on the scrollbar. Perhaps the code is in there.