Hello Phayao
no, I had the same problem. The solution is:
[CODE lang="b4x" title="Use CallSubDelayed"]'Base type must be Object
Public Sub DesignerCreateView (Base As Object, Lbl As Label, Props As Map)
mBase = Base
Tag = mBase.Tag
mBase.Tag = Me
' Color Dialog
Dialog.Initialize(mBase)
' let all startup activities finished
CallSubDelayed(Me, "AfterLoadLayout")
End Sub
Public Sub AfterLoadLayout()
mBase.LoadLayout("RTFEditor")
RTE.AddToParent(pnlEditor,10dip,10dip,pnlEditor.Width-20,pnlEditor.height-20)
RTE.RequestFocus[/CODE]
But you may get into the next trouble. If you use the SMMRichTextEditor inside a custom view for example to build your own Wordprocessor control than it is not able to find the Editor.html file.