Android Question Spinner on a panel does not dropdown

GEoffT

Member
Licensed User
Longtime User
I have a spinner on a panel (created in the designer. the spinners parent is the panel). A button on the screen makes the panel appear.

pnl is called pnlAddScore and the spinner is spBowType as in the code below

B4X:
Sub btnAddScore_Click
    et10s.Color= Colors.white
    etScore.Color = Colors.White
    etXs.Color = Colors.White
    etHits.color = Colors.White
   
    pnlAddScore.BringToFront
    pnlAddScore.Visible = True
    pnlAddScore.Enabled = True

    dpDate.AddToActivity(pnlAddScore,lblDate)
    Main.bowType=""
    spSetOfRounds.Visible=False
    spAddScore.Visible=False
   
    spBowType.Visible=True
    spBowType.BringToFront
    spBowType.SelectedIndex = 0
   
End Sub

Touching the spinner does not cause the dropdown values to appear. However on pressing the cancel button on the panel. The dropdown list is there on the main activity.

B4X:
Sub btnCancel_Click
    pnlAddScore.Visible = False
End Sub

Any help much appreciated. Geoff
 

Alexander Stolte

Expert
Licensed User
You mean this? Or you mean the spinner of the DatePicker?
Screenshot_20171210-135950.png
 
Upvote 0

GEoffT

Member
Licensed User
Longtime User
Erel, In creating a small project I realised I was using custom SLSpinner not the standard spinner. Standard spinner works fine.
 
Upvote 0
Top