cklester Well-Known Member Licensed User Nov 19, 2020 #1 I've got an app that allows the user to create dynamic forms. I'd like to track the data types (String,Integer,etc...) of each field. Can I reference object types somehow? e.g., B4X: dim all_types() as Object all_types = Array(String,Integer,Boolean,Map) How do I do that in B4X?
I've got an app that allows the user to create dynamic forms. I'd like to track the data types (String,Integer,etc...) of each field. Can I reference object types somehow? e.g., B4X: dim all_types() as Object all_types = Array(String,Integer,Boolean,Map) How do I do that in B4X?
Erel B4X founder Staff member Licensed User Longtime User Nov 19, 2020 #2 1. You can't reference types like this. 2. Check B4XPreferenceDialog. It uses constants for the various types of fields (which are richer than the system types). Upvote 0
1. You can't reference types like this. 2. Check B4XPreferenceDialog. It uses constants for the various types of fields (which are richer than the system types).