Wish Don't change controls positions ...

LudwigRS

Member
Licensed User
Longtime User
... when i add the controls to a new panel.
Example :
Place some controls at the activity screen. Then add a new panel to the screen und move the controls to the new panel.
If you then change the parent panel of then controls they all move into the upper left right of the panel and have to re-arrange their positions

At this time again 1000 thanks vor B4A -- you did a very good job, Erel !
 

rbsoft

Active Member
Licensed User
Longtime User
You should first change the parent of the control and then rearrange the position of the controls. The position of the controls gets lost when you change the parent. It makes no difference if you do this in the designer or in code.

Rolf
 

LudwigRS

Member
Licensed User
Longtime User
Thanks, Rolf.

But exact this is my wish. I plan a new Form, place a lot of Controls there and then later there is a need to place them onto a new panel. Then it would be nice, when i can place a panel over all the elements, send the panel to the back, select all elements and place them to the panel WITHOUT the boring effect, that all the elements move to the upper left side of the panel and i have to re-arrange them manually.
As i said, only a wish and sometimes very helpful for a programmer which has forgotten to do this at the beginning of the form design
Wishes are allowed here .... fullfillment might be Erel's choice.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…