Android Question b4xcombobox to native view

mterveen

Member
Licensed User
Longtime User
in b4a using xui b4xcombobox created in designer.........

? - how do you assign it to a native view to change properties such as top, left, etc?

i tried assigning it to a spinner but it fails.
 

Semen Matusovskiy

Well-Known Member
Licensed User
In class module make mBase Public instead of Private.
If in main activity you will declare Dim B4XComboBox1 As B4XComboBox, you will be able to access Left and Top of CustomView using B4XComboBox1.mbase.Left (or Top).
To access spinner (which is a child of mBase), use B4XComboBox1.mbase.GetView (0).Left (or Top).
 
Upvote 0
Top