Hi,
I want to implement a sub that can receive many types of classes as parameter (e.g. CustomLabel, CustomTextField etc.). Today I'm doing the following:
B4X:
Public Sub AddElement(element As Object)
If element Is CustomLabel Then
...
else if element Is CustomTextField then...
Hi,
I want to implement a sub that can receive many types of classes as parameter (e.g. CustomLabel, CustomTextField etc.). Today I'm doing the following:
B4X:
Public Sub AddElement(element As Object)
If element Is CustomLabel Then
...
else if element Is CustomTextField then...