epiCode Active Member Licensed User Dec 25, 2021 #1 Is there a way to change z-order of UI elements via code ? (not via designer)
Erel B4X founder Staff member Licensed User Longtime User Dec 26, 2021 #2 B4XView.SendToBack / BringToFront Note that in Android there is also an elevation property that affects the z-order. Upvote 0
B4XView.SendToBack / BringToFront Note that in Android there is also an elevation property that affects the z-order.
epiCode Active Member Licensed User Dec 26, 2021 #3 Erel said: B4XView.SendToBack / BringToFront Note that in Android there is also an elevation property that affects the z-order. Click to expand... I've been using sendtoback but it requires me to maintain an custom stack every time there is a change in order and keep updating it manually. I wonder if there is a way to find out an element's z-order like where are they among many layers of elements either in B4A or using Inline Java. Upvote 0
Erel said: B4XView.SendToBack / BringToFront Note that in Android there is also an elevation property that affects the z-order. Click to expand... I've been using sendtoback but it requires me to maintain an custom stack every time there is a change in order and keep updating it manually. I wonder if there is a way to find out an element's z-order like where are they among many layers of elements either in B4A or using Inline Java.