Hi all,
I have a panel that requires 2 sets of radio buttons.
one set is fine,but to have another set I need to put the RB's in a panel.
So the panel in a panel has a label and 5 buttons.
When I go to position these views in designer (wrt to the panel they're in) , they disappear. they won't reappear unless I remove the designer script lines
Label6.SetTopAndBottom (radiopanel.Top, radiopanel.Top+6%y)
Any ideas
TIA
It would be much easier to help you if you posted a small project showing the problem.
Without knowing what exactly you have done and how, it is impossible to give a concrete advice.
Hi Klaus,
I can't recreate the issue in another project, so I'm uploading the project I'm working on. The issue is radiopanel behaving weirdly.
anyway, a pointer would be helpful if you have the time TIA. Steve
Attached you find your modified project.
You defined the backgrond color to white, therefore the radiobuttons were not visible.
Then, you did not set the position of radiopanel.
I set the position of radiopanel, set the position of Label6 and set the vertical positions of the RadioButtons.
Their horizontal positions are given with anchors,
Attached you find your modified project.
You defined the backgrond color to white, therefore the radiobuttons were not visible.
Then, you did not set the position of radiopanel.
I set the position of radiopanel, set the position of Label6 and set the vertical positions of the RadioButtons.
Their horizontal positions are given with anchors,
Wow, thank you Klaus. Not sure why I can't see the radiopanel when I run the designer script, but hey ho, it's now compiling and looking good. Many thanks.