How to copy a Panel(with it's content) From one layout to another layout?

badal405

Member
Licensed User
Longtime User
Dear Erel,
I have designed 5 panels in the Main module by abstract designer. I have added another Activity module from Project>Add new Module>Activity Module.... and also design by abstract designer. Now i need to copy 1 panel from Main module to 2nd module. I am trying to copy the panel but could not find any option to copy.
Would you please tell me how can i do that?
Waiting for your reply..
 

badal405

Member
Licensed User
Longtime User
Dear Erel,
I tried to follow the save as method but it can not be applicable for everything. Like, i want to take a panel(which has many controls) from other layout to main layout. In this regards the save as method will not meet the requirement. That means i have to redesign again!!!!!!!.
If you have any other way to do that please share with us.
Thanks and best regards.
 
Upvote 0

mangojack

Expert
Licensed User
Longtime User
badal405 .. just to confirm your wishes , you would like to COPY a panel (and all its controls / views) from one layout and PASTE that panel into the Main Layout ? I don't think that is possible. It would be nice to copy and paste within the same layout even.

Cheers mj
 
Upvote 0

mangojack

Expert
Licensed User
Longtime User
stevel05 .. just to clarify ,copy / cut one panel (and its views if any) to another panel ... or a view from one panel to another.

Cheers mj
 
Upvote 0

stevel05

Expert
Licensed User
Longtime User
You can duplicate a panel and it's views. Which will give you a new panel and views, which you can then rename.

You can also change the parent on views, so a bit more long winded if you only want a few views, would be to duplicate them and then change the parent, and layout of course so not ideal.

You can also load a layout into a panel, which I have done on the few occasions that I have needed to use two layouts the same. If they are in a separate Activity or Class, the names can be the same (or you can have multiple class instances).

I tend to work with panels as containers, so this works fine for me in most cases.

If it's more complicated, I'll usually create the layout (or just the fiddly bits) in code.
 
Last edited:
Upvote 0

mangojack

Expert
Licensed User
Longtime User
I was aware you could duplicate a panel and its views. Just the knowledge I can easily change the parent has solved a few headaches... many thanks stevel05

Cheers mj
 
Upvote 0

peacemaker

Expert
Licensed User
Longtime User
But if it's needed to move a panel with views from a complex layout to another complex layout ?
And just creating a new layout with the panel is useless.
 
Upvote 0
Top