In B4X, routines whose names begin with "set" and "get" are considered properties; this is probably the error. Change the name to SetHeight.
P.S.
No, this code work as expected:
Sub Class_Globals
End Sub
'Initializes the object. You can add parameters to this method if needed.
Public Sub Initialize
End Sub
Public Sub DoIt
CallSubDelayed(Me, "setHeight")
End Sub
Public Sub setHeight
Log("set")
End Sub