[Wish] Add a Property to a class

Dominex

Active Member
Licensed User
Longtime User
I'd like to create "ownership" in a class, at the moment it seems that is not possible. For all I know, a property is as a Field, changes only the icon. I believe that a feasible, it would also suggestion on how to do if I may.

You could use the command "Propriety" instead of Dim / Private.

B4X:
Sub Class_Globals
   Propriety Width as int
End Sub

Furthermore, it must be possible associale a sub for the changes of the content.

B4X:
Propriety Sub Width as int
   'code...
End Sub

Mine is just one example.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…