I have the following requirement.
Only when I click on the Radio button 2 I want to display text box 1, when the Text box 1 displays I want to shift down all the other controls eg- lable1 and text box 2. But when I click on the Radio button 1 I want to hide the Text box 1 and move up all the other controls to fill the Text box 1 space on the screen.
Can someone please tell me how to do this, I can display and hide the text box 1 based on the Radio button selection, but I dont know how to move the controls up and down. I managed to to move up and down as follows
Text box 2 and Label 1 Y property set to If(Radio1.Selected.Value="two",306,204), but are there any other better way to do this as I have to do the same for Label2 and Text box 4 based on "green selection", I have to continue this for a couple of filed.
Also, I want to display a vertical scroll bar when the controls are moves down as the height of the screen is not enough to display all controls.
Much appreciate any help.
Thank you very much.
Solved! Go to Solution.
Thank you very much @yashag2255 , yes as you have mentioned I managed to move the text box and the label, but I have a lot of controls to move, could you please read my initial post again as I have changed it a bit, much appreciate your professional advice.
Well there is no easy of doing this. All the controls below need to be related/dependent to each other. I have created a dynamic messagebox using below method:
1. Take a variable and set a default value to Exactly Second.Top = TextBox.Top
2. Set all the other components Top property dependent on their above component. -
Third.Top= Second.Top + Second.Height +10
Forth.Top= Third.Top + Third.Height + 10
and so on...
3. When you show TextBox then set the Second.Top = TextBox.Top + TextBox.Height + 10
Hope this helps,
Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.
Fill out a quick form to claim your user group badge now!
Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities
Features releasing from October 2019 through March 2020
Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.
Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications