rscheel Well-Known Member Licensed User Longtime User Mar 30, 2017 #1 I have problems loading data inside a panel designed in the designer with elevation 2, when loading a layout from code disappears the panel frame and elevation. Code: Copy Sub spMovimiento_ItemClick (Position As Int, Value As Object) PanelLoadLayout.RemoveAllViews If Value == "Instalación" Then PanelLoadLayout.LoadLayout("LayoutInstalacion") spCodGPS.Clear CargaDatosGpsInst End If If Value == "Cambio" Or Value == "Revisión" Or Value == "Retiro" Then PanelLoadLayout.LoadLayout("LayoutCambio") End If If Value == "Seleccionar" Then PanelLoadLayout.RemoveAllViews End If End Sub Your help is appreciated.
I have problems loading data inside a panel designed in the designer with elevation 2, when loading a layout from code disappears the panel frame and elevation. Code: Copy Sub spMovimiento_ItemClick (Position As Int, Value As Object) PanelLoadLayout.RemoveAllViews If Value == "Instalación" Then PanelLoadLayout.LoadLayout("LayoutInstalacion") spCodGPS.Clear CargaDatosGpsInst End If If Value == "Cambio" Or Value == "Revisión" Or Value == "Retiro" Then PanelLoadLayout.LoadLayout("LayoutCambio") End If If Value == "Seleccionar" Then PanelLoadLayout.RemoveAllViews End If End Sub Your help is appreciated.
Erel B4X founder Staff member Licensed User Longtime User Mar 30, 2017 #2 It is not related to the elevation. It is hard to say more without seeing the layout files. Make sure that there is no panel in the layout files that hides the parent panel. Upvote 0
It is not related to the elevation. It is hard to say more without seeing the layout files. Make sure that there is no panel in the layout files that hides the parent panel.
rscheel Well-Known Member Licensed User Longtime User Mar 30, 2017 #3 Erel said: It is not related to the elevation. It is hard to say more without seeing the layout files. Make sure that there is no panel in the layout files that hides the parent panel. Click to expand... I share images of the designer, I do not charge a panel over another, also say that this happens to me with android 7.1.1, with android 6.0.1 works well. Upvote 0
Erel said: It is not related to the elevation. It is hard to say more without seeing the layout files. Make sure that there is no panel in the layout files that hides the parent panel. Click to expand... I share images of the designer, I do not charge a panel over another, also say that this happens to me with android 7.1.1, with android 6.0.1 works well.
Erel B4X founder Staff member Licensed User Longtime User Mar 30, 2017 #4 Can you upload the project (File - Export as zip)? Upvote 0
rscheel Well-Known Member Licensed User Longtime User Mar 30, 2017 #5 Erel said: Can you upload the project (File - Export as zip)? Click to expand... I attached it by dropbox the .zip file https://www.dropbox.com/s/4oafi0d333ueduo/PruebaPanel.zip?dl=0 Upvote 0
Erel said: Can you upload the project (File - Export as zip)? Click to expand... I attached it by dropbox the .zip file https://www.dropbox.com/s/4oafi0d333ueduo/PruebaPanel.zip?dl=0
Erel B4X founder Staff member Licensed User Longtime User Mar 30, 2017 #6 If you use "File - Export as zip" then the zip file size will be 11kb. When you load a layout to a panel it sets the panel's color from the layout top control (activity). You need to set it to be the same color: Upvote 0
If you use "File - Export as zip" then the zip file size will be 11kb. When you load a layout to a panel it sets the panel's color from the layout top control (activity). You need to set it to be the same color:
rscheel Well-Known Member Licensed User Longtime User Mar 30, 2017 #7 Erel said: If you use "File - Export as zip" then the zip file size will be 11kb. When you load a layout to a panel it sets the panel's color from the layout top control (activity). You need to set it to be the same color: Click to expand... I see, an error I was quite stupid, I had not noticed it, thank you for your help. And the zip export, now I just realize that there is that option in file. Thanks for everything. Sorry my English Upvote 0
Erel said: If you use "File - Export as zip" then the zip file size will be 11kb. When you load a layout to a panel it sets the panel's color from the layout top control (activity). You need to set it to be the same color: Click to expand... I see, an error I was quite stupid, I had not noticed it, thank you for your help. And the zip export, now I just realize that there is that option in file. Thanks for everything. Sorry my English