I'm trying to position a spinner in the Designer in B4A 6.5. I've created a spinner called VenueSpinner in the designer and located it at a certain position on the screen. I've created the equivalent in code as shown below. When I run the app I get a small down arrow at the Designer location but it does nothing. The actual spinner shows up in the coordinates shown in the activity.addview location.
Bottom line: Is it possible to use the spinner in the Designer to control the initial location and then let the .addview display it elsewhere when selected?
Bottom line: Is it possible to use the spinner in the Designer to control the initial location and then let the .addview display it elsewhere when selected?
B4X:
Sub Vspinner
VenueSpinner.Initialize("Spinner")
VenueSpinner.TextSize = 14
VenueSpinner.AddAll(VenueList)
Activity.AddView(VenueSpinner,10dip,20dip,200dip,30dip)
VenueSpinner.Enabled = True
VenueSpinner.Visible = True
VenueSpinner.BringToFront
VenueSpinner.RequestFocus
VenueSpinner.Color = 0xFFFFFF
End Sub