NeoTechni Well-Known Member Licensed User Longtime User Jun 12, 2016 #1 SortTypeCaseInsensitive seems to take a fieldname by a string, is there a way we can access that so I could make a function to universally look up a fieldname=value pair in any list, instead of making one for each variable type?
SortTypeCaseInsensitive seems to take a fieldname by a string, is there a way we can access that so I could make a function to universally look up a fieldname=value pair in any list, instead of making one for each variable type?
Erel B4X founder Staff member Licensed User Longtime User Jun 12, 2016 #2 You can use JavaObject to access the type fields. B4X: Dim jo As JavaObject = MyType1 Log(jo.GetField("Field1")) Upvote 0
You can use JavaObject to access the type fields. B4X: Dim jo As JavaObject = MyType1 Log(jo.GetField("Field1"))