Dim cld As B4XDialog
cld.Initialize(Root)
Dim p As B4XView = xui.CreatePanel("")
p.SetLayoutAnimated(0, 0, 0, 400dip, 380dip)
p.Color=xui.Color_LightGray
Do While rbtn_check < 2 'and ret = DialogResponse
rbtn_check=0
p.LoadLayout("cld_Export_GMA")
pnl_port.Visible = True
pnl_exp.Visible = True
pnl_loc.Visible = True
If varExpMode.Contains("GMA") =False Then
pnl_exp.Visible = False
pnl_port.Top = 5dip
pnl_loc.Top = pnl_port.Height + 5dip
Dim hoehe As Int=pnl_loc.Top + pnl_loc.Height
Else
pnl_loc.top=pnl_port.Height + pnl_port.Top +10dip
End If
Dim rs As ResumableSub = cld.ShowCustom(p, Main.loc.Localize("txt_start"), "", "CANCEL")
Wait For (rs) Complete (ret As Int)
......
Loop