Hello to everyone,
i created a CustomView Class that holds a ScrollView with Items in it. Everything is fine when i use the standard label for the items but i get errors when i try to create another CustomView (own Label class) inside the Class Module and attach it to the Panel of the ScrollView instead of using the labels (Error: Type should be View but is CustomView). Ive read that CustomViews should not be initialized out of the designer but maybe someone knows a trick to make it work. That would be really cool! I don't like redundant code...
BTW this is my first post thank you all for all the amount of information and sample projects posted in this forum i enjoy the minimalitic approach of B4A and hope to present you my cool app soon!
Greetings from Germany
Dawid
i created a CustomView Class that holds a ScrollView with Items in it. Everything is fine when i use the standard label for the items but i get errors when i try to create another CustomView (own Label class) inside the Class Module and attach it to the Panel of the ScrollView instead of using the labels (Error: Type should be View but is CustomView). Ive read that CustomViews should not be initialized out of the designer but maybe someone knows a trick to make it work. That would be really cool! I don't like redundant code...
BTW this is my first post thank you all for all the amount of information and sample projects posted in this forum i enjoy the minimalitic approach of B4A and hope to present you my cool app soon!
Greetings from Germany
Dawid