A adolleschal Member Licensed User Longtime User Feb 21, 2011 #1 Hi! I would like to clear a previously loaded layout and the load a new one. How can i do that? Right now when I load a second layout i "see" fragments of the old loaded layout because the new one looks different. Best regards Andreas
Hi! I would like to clear a previously loaded layout and the load a new one. How can i do that? Right now when I load a second layout i "see" fragments of the old loaded layout because the new one looks different. Best regards Andreas
Erel B4X founder Staff member Licensed User Longtime User Feb 22, 2011 #3 The solution is to load each layout to a Panel instead of the activity (with Panel.LoadLayout). Then you can switch the Panels as needed. Upvote 0
The solution is to load each layout to a Panel instead of the activity (with Panel.LoadLayout). Then you can switch the Panels as needed.
aklisiewicz Active Member Licensed User Longtime User May 31, 2011 #4 any example of doing this ? Arthur Upvote 0
Erel B4X founder Staff member Licensed User Longtime User May 31, 2011 #5 Klaus has created such an example here: http://www.b4x.com/forum/basic4andr...orials/8416-different-examples-2-layouts.html Upvote 0
Klaus has created such an example here: http://www.b4x.com/forum/basic4andr...orials/8416-different-examples-2-layouts.html