H Hanz Active Member Sep 27, 2021 #1 Everyone, Can we put the BBLabel inside the BBCodeView? I tried it but I get an error: B4X: java.lang.RuntimeException: Class instance was not initialized (bblabel) my codes are as follows: B4X: Dim bblMsgContent As BBLabel bbcMessageContent.Views.Put("bblMsgContent", bblMsgContent) sb.Append($"[View=bblMsgContent]"$).Append(CRLF) bbcMessageContent is a BBCodeView and sb is a stringbuilder. Thanks
Everyone, Can we put the BBLabel inside the BBCodeView? I tried it but I get an error: B4X: java.lang.RuntimeException: Class instance was not initialized (bblabel) my codes are as follows: B4X: Dim bblMsgContent As BBLabel bbcMessageContent.Views.Put("bblMsgContent", bblMsgContent) sb.Append($"[View=bblMsgContent]"$).Append(CRLF) bbcMessageContent is a BBCodeView and sb is a stringbuilder. Thanks
Erel B4X founder Staff member Licensed User Longtime User Sep 28, 2021 #2 Read this to understand: https://www.b4x.com/android/forum/t...om-clv-or-any-other-container.117992/#content Change to: B4X: bbcMessageContent.Views.Put("bblMsgContent", bblMsgContent.mBase) Upvote 0
Read this to understand: https://www.b4x.com/android/forum/t...om-clv-or-any-other-container.117992/#content Change to: B4X: bbcMessageContent.Views.Put("bblMsgContent", bblMsgContent.mBase)
H Hanz Active Member Sep 28, 2021 #3 Erel said: Read this to understand: https://www.b4x.com/android/forum/t...om-clv-or-any-other-container.117992/#content Change to: B4X: bbcMessageContent.Views.Put("bblMsgContent", bblMsgContent.mBase) Click to expand... I just tried it and I get the same result. I even tried initializing it with either of the ff: B4X: bblMsgContent.Initialize("", "bblMsgContent") bblMsgContent.Initialize(Me, "bblMsgContent") Last edited: Sep 28, 2021 Upvote 0
Erel said: Read this to understand: https://www.b4x.com/android/forum/t...om-clv-or-any-other-container.117992/#content Change to: B4X: bbcMessageContent.Views.Put("bblMsgContent", bblMsgContent.mBase) Click to expand... I just tried it and I get the same result. I even tried initializing it with either of the ff: B4X: bblMsgContent.Initialize("", "bblMsgContent") bblMsgContent.Initialize(Me, "bblMsgContent")
Erel B4X founder Staff member Licensed User Longtime User Sep 29, 2021 #4 Create a small project and upload it. Upvote 0
H Hanz Active Member Sep 29, 2021 #6 Hanz said: here is the small project. Click to expand... Is the file I sent uploaded? I don't see any file attached from here. Upvote 0
Hanz said: here is the small project. Click to expand... Is the file I sent uploaded? I don't see any file attached from here.
H Hanz Active Member Sep 30, 2021 #8 Erel said: It is not there. Click to expand... Can't upload, it says file too large but it's just 1.2mb zip file. Upvote 0
Erel said: It is not there. Click to expand... Can't upload, it says file too large but it's just 1.2mb zip file.