Wish Set & Get with parameters


Active Member
Licensed User
Longtime User
I would like define properties with parameters (pairs of functions getXXX/setXXX) in a way similar to:
public Sub setTextMatrix(Fila as int, Columna as int, Valor As String)
' ....
End Sub

public Sub getTextMatrix(Fila as int, Columna as int) As String
End Sub
B4A already has this feature, but with no parameters.
I'd like to be able to define it and see in the IDE in the same way:

It's usage should be like the following:
' or

Thank you


B4X founder
Staff member
Licensed User
Longtime User
That is like the weirdest thing I have ever seen. I don't even think the underlying Java is able to do that.
It doesn't really matter whether the underlying Java can do it or not. There are many features in B4X that are not supported by Java (resumable subs, properties and many others).

I'm not sure how many developers will use such a feature however it is similar to C# index properties.