Results 1 to 4 of 4

Thread: Dynamic Controls

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2000
    Location
    Oshkosh, WI
    Posts
    163

    Question

    I've got a problem that I'm sure someone here has already run into. Heres the stituation:

    I've got a form that is used to record answers to a test. There are 3 possible answers to each question (Yes, No and Not Sure). The number of questions on the test will vary. My plan was to place 3 options buttons(Yes,No, Not Sure) into a picture box and then set the index property to zero(to make a control array). To set up the form I was planning on loading and placing the picture boxes.

    The problem I have is that the option buttons that are part of the picture box, don't load when the picture box is loaded and when I load them specificaly they don't seem to be children of the picture box.

    If anyone has any insight on this it would be much appreciated.
    Glenn D
    Development/Analyst

  2. #2
    Lively Member
    Join Date
    Mar 2000
    Posts
    82
    You can load each option button, and the use set to make each option a child of the picture box.

    set option1.container = picture1

    and then move it to where you want

    option1.move 100,100,100,100

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jan 2000
    Location
    Oshkosh, WI
    Posts
    163

    Thumbs up

    Thanks for the tip, I've never used the container property.
    Glenn D
    Development/Analyst

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Jan 2000
    Location
    Oshkosh, WI
    Posts
    163
    I tried it and it worked thanks again bman
    Glenn D
    Development/Analyst

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