Help with Radiobutton

TARQ

Member
Licensed User
:sign0104:
Hello,

I am making an application where i use panels as pages on the form.

Now i want to have 3 groups of 2 radiobuttons that react as pairs.

so rb1 and rb2 are linked
rb3 and rb4 are linked
and rb5 and rb6 are linked.

As i already use panels as pages, and i can't make a panel a parent to a panel, how do i solve this......
:sign0085:
 

LineCutter

Active Member
Licensed User
Longtime User
Instant idea would be to use

Radiobutton2.checked=false in sub Radiobutton1_click
 

specci48

Well-Known Member
Licensed User
Longtime User
OK, warming up my brain :signOops: I remembered that I got through this problem some (longer) time ago.
The fact is: You can't add a panel to a panel directly :(
The trick is: Change the parent of the sub-panels to the main panel at the beginning of the application using the FormLib :)

Now the sub panels belong to the parent panels and e.g. are un-/visible if you hide/show the main panel (see attachment).


specci48
 

TARQ

Member
Licensed User
Thanks to both LineCutter & specci48, both solutions work.

The solution from LineCutter is so simple that i don't know why i didn't think of it myself.. :sign0161: :sign0104:
 
Top