Sivasaravanan
Member
B4X:
Sub Process_Globals
private tblbase as SDUITable
End Sub
Sub Show(duiapp As SDUIApp)
'get the reference to the app
app = duiapp
'build the page, via code or loadlayouts
BuildPage
End Sub
private Sub BuildPage
'load the page layout
banano.LoadLayout(app.PageViewer, "layout")
tblbase = Page.Cell(7,1).AddTableCard("tblbase")
tblbase.Initialize(Me,"tblbase","tblbase")
'Without Sending this Object'
FillData()
end sub
Sub FillData
Dim Obj As BANanoElement = banano.GetElement("#tblbase")
Log(Obj)
'Can I converty this Obj to SDUITable' to Add or change attributes
'In .Net Ctype(Obj,SDUITable) - is possible, here how?'
End Sub
Dear Anele, Any idea for this?