Blocking a part of the form

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lamer
    New Member
    • Jul 2008
    • 2

    Blocking a part of the form

    Hi,

    On my form there are three options. (they're radio buttons) and if one of them is selected, the whole form can be filled in. When the second one is selected only one part (that is in a bounded object frame) can be changed. and the last one where none of the form can be changed. How do I do that?

    I tried a whole bunch of if and else statements by using .enable or .locked

    thanks
  • janders468
    Recognized Expert New Member
    • Mar 2008
    • 112

    #2
    If I understand this correctly you don't want certain controls visible when an option button is selected. When you select one of the option buttons I would set the visible property of the controls you don't want to see to false. They can't be seen or accessed in this state. You can make whatever controls visible or not based on what the user selects. If you need help in how to set this property let me know.

    Comment

    • lamer
      New Member
      • Jul 2008
      • 2

      #3
      Nevermind janders!! I just figured it out. Thanks!!


      Originally posted by janders468
      If I understand this correctly you don't want certain controls visible when an option button is selected. When you select one of the option buttons I would set the visible property of the controls you don't want to see to false. They can't be seen or accessed in this state. You can make whatever controls visible or not based on what the user selects. If you need help in how to set this property let me know.

      Comment

      • missinglinq
        Recognized Expert Specialist
        • Nov 2006
        • 3533

        #4
        Are these three option buttons part of an Option Group (as they should be) or are they independent? If they're part of an Option Group only one can be selected at a time. If part of an Option Group what is the fame's name? If independent, what are the button names? Also, how many controls are we talking about being used or not being used when the second button is chosen?

        Welcome to Bytes!

        Linq ;0)>

        Comment

        Working...