I'm afraid yes
.
In classes you can define properties.
These routines define a MinValue property:
Public Sub getMinValue As Double
Return cMinValue
End Sub
Public Sub setMinValue(MinValue As Double)
cMinValue = MinValue
'additional code
End Sub
cMinValue is the class internal variable.
Routines beginning with 'get', lower case, define a readable property.
Routines beginning with 'set', lower case, define a writable property.
This property can be accessed with
MyClass.MinValue = 123
Explained in chapter
4.4 Add Properties in the
B4X CustomViews booklet.