in buildpage
page shows nothing.
something I missed?
add: if i add this line:
page.AddFloatingContainer(cont_control,ABM.FLOATING_FROMBOTTOM,"50px")
the buttons doesn't work.
thanks!
B4X:
Dim cont_control As ABMContainer
cont_control.Initialize(page,"cont_control","")
cont_control.AddRows(1,True,"").AddCellsOS(4,0,0,0,3,3,3,"")
cont_control.BuildGrid
Dim firstshow1 As ABMButton
Dim hereshow1 As ABMButton
Dim Nextshow1 As ABMButton
Dim prevshow1 As ABMButton
firstshow1.InitializeFloating(page,"firstshow1","mdi-image-filter-1","")
hereshow1.InitializeFloating(page,"hereshow1","mdi-hardware-keyboard-arrow-down","")
Nextshow1.InitializeFloating(page,"nextshow1","mdi-hardware-keyboard-arrow-right","")
prevshow1.InitializeFloating(page,"preshow1","mdi-hardware-keyboard-arrow-left","")
cont_control.Cell(1,1).AddArrayComponent(firstshow1,"command")
cont_control.Cell(1,2).AddArrayComponent(hereshow1,"command")
cont_control.Cell(1,3).AddArrayComponent(prevshow1,"command")
cont_control.Cell(1,4).AddArrayComponent(Nextshow1,"command")
cont_control.IsResponsiveContainer=True
cont_control.SetFixedPosition("30px", "", "56px", "")
something I missed?
add: if i add this line:
page.AddFloatingContainer(cont_control,ABM.FLOATING_FROMBOTTOM,"50px")
the buttons doesn't work.
thanks!
Last edited: