Hello,
I've an B4J and B4A customview and like to use BBCodeView like:
Tried to initialize TextEngine and CodeView (mCallback, Main.MainForm, Me, mbase). If it comes to BBlbl.Text row it stops with error message that the BBlbl is not initialized. Please Anyone to point me to my failure.
Thank you
I've an B4J and B4A customview and like to use BBCodeView like:
Code inside custom view class:
'#create pane
Dim p As Pane: p.initialize("ItemBBlbl")
p.PrefWidth=Width: p.prefheight = height
'# create label
BCT.Initialize(mBase)
Dim BBlbl As BBCodeView:
BBlbl.Initialize(mBase, "ItemBBLbl")
BBlbl.Text=Text '<-------- !
'# add BBlbl to pane
p.AddNode(BBlbl.tag,0,0,p.PrefWidth,p.PrefHeight)
Tried to initialize TextEngine and CodeView (mCallback, Main.MainForm, Me, mbase). If it comes to BBlbl.Text row it stops with error message that the BBlbl is not initialized. Please Anyone to point me to my failure.
Thank you