it was in a library. pulled it out to debug the problem
I attached the complete program. Wrote this probably 10 years ago before we had one on the site and before all the good designer stuff
has always work perfectly
[CODE lang="b4x" title="Here's how it is called"] mTypesDropDown.Initialize(Root, Me, "TypesList", True, IsSmallScreen)
mTypesDropDown.SetBorderFrame(mTypesDropDown.MakeTDropDown_Border(cColors.White, 5dip, 3dip, cColors.DarkGray))
mTypesDropDown.SetListInfo(mTypesDropDown.MakeTDropDown_Text(5dip, 18, cColors.Gray, cColors.White, Typeface.DEFAULT_BOLD, Bit.Or(Gravity.LEFT, Gravity.CENTER_VERTICAL)))
mTypesDropDown.SetDisplayInfo(mTypesDropDown.MakeTDropDown_Text(15dip, 22, cColors.White, cColors.Blue, Typeface.CreateNew(Typeface.DEFAULT, Typeface.STYLE_ITALIC), Bit.Or(Gravity.LEFT, Gravity.CENTER_VERTICAL)))
mTypesDropDown.Attach(sSP_TypesList)
It's creating a dropdown list and attaching it to a Panel "sSP_TypesList"[/CODE]
Screen Shots