Results 1 to 18 of 18

Thread: how modify the check boxes in form

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 2007
    Posts
    241

    how modify the check boxes in form

    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
    Last edited by kamakshi; Jul 8th, 2007 at 07:08 PM. Reason: RESOLVED

  2. #2
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: how modify the check boxes in form

    Use the caption property

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jun 2007
    Posts
    241

    Re: how modify the check boxes in form

    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

  4. #4
    Fanatic Member drivenbywhat's Avatar
    Join Date
    Jan 2007
    Location
    VA - USA
    Posts
    866

    Re: how modify the check boxes in form

    Maybe you have the frame covering them up. Try moving the frame.
    [vb5 & starting to move to vb2008] I appreciate the help I get from everyone. Thank you.

  5. #5
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: how modify the check boxes in form

    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?

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Jun 2007
    Posts
    241

    Re: how modify the check boxes in form

    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

  7. #7
    Fanatic Member drivenbywhat's Avatar
    Join Date
    Jan 2007
    Location
    VA - USA
    Posts
    866

    Re: how modify the check boxes in form

    Take a screenshot of your form in design time & then at run time. Attach it here so we can see your problem.
    [vb5 & starting to move to vb2008] I appreciate the help I get from everyone. Thank you.

  8. #8
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: how modify the check boxes in form

    vb Code:
    1. CheckboxX.Caption = "Name Here"

  9. #9

    Thread Starter
    Addicted Member
    Join Date
    Jun 2007
    Posts
    241

    Re: how modify the check boxes in form

    i have send the snap shot for you. please help me how to change the check box name
    Last edited by kamakshi; Jul 7th, 2007 at 10:04 PM.

  10. #10
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: how modify the check boxes in form

    You you save the img as jpeg or some other format and attach it seperate from a *.doc file please.

  11. #11

    Thread Starter
    Addicted Member
    Join Date
    Jun 2007
    Posts
    241

    Re: how modify the check boxes in form

    here it iis as jpg format. thanks for your help
    Last edited by kamakshi; Jul 8th, 2007 at 12:09 PM.

  12. #12
    Fanatic Member drivenbywhat's Avatar
    Join Date
    Jan 2007
    Location
    VA - USA
    Posts
    866

    Re: how modify the check boxes in form

    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?
    [vb5 & starting to move to vb2008] I appreciate the help I get from everyone. Thank you.

  13. #13
    Frenzied Member
    Join Date
    Jun 2006
    Posts
    1,098

    Re: how modify the check boxes in form

    Select the unseen control from the dropdown list in the Properties window to modify its properties.

  14. #14

    Thread Starter
    Addicted Member
    Join Date
    Jun 2007
    Posts
    241

    Re: how modify the check boxes in form

    i have vb6.

  15. #15

    Thread Starter
    Addicted Member
    Join Date
    Jun 2007
    Posts
    241

    Re: how modify the check boxes in form

    run time i cannot see the properties. and form load i dont see anything there. in form-load i see only visible false

  16. #16
    PowerPoster
    Join Date
    Nov 2002
    Location
    Manila
    Posts
    7,629

    Re: how modify the check boxes in form

    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.

  17. #17
    Frenzied Member
    Join Date
    Jun 2006
    Posts
    1,098

    Re: how modify the check boxes in form

    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?

  18. #18
    Fanatic Member drivenbywhat's Avatar
    Join Date
    Jan 2007
    Location
    VA - USA
    Posts
    866

    Re: how modify the check boxes in form

    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.
    [vb5 & starting to move to vb2008] I appreciate the help I get from everyone. Thank you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width