A Alessandra Pellegri Active Member Licensed User Longtime User Dec 28, 2015 #1 I am actaully doing so: B4X: dim a as label try a=myGenericObject doLabelThings catch end try dim b as panel try b=myGenericObject doPanelThings catch end try etc. etc. I would like to know if there is a more elegant way to do so. Thank you
I am actaully doing so: B4X: dim a as label try a=myGenericObject doLabelThings catch end try dim b as panel try b=myGenericObject doPanelThings catch end try etc. etc. I would like to know if there is a more elegant way to do so. Thank you
narek adonts Well-Known Member Licensed User Longtime User Dec 28, 2015 #2 IF b Is Panel then .... Upvote 0
A Alessandra Pellegri Active Member Licensed User Longtime User Dec 28, 2015 #3 Ok, thank you Upvote 0