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
 

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
Cookies are required to use this site. You must accept them to continue using the site. Learn more…