I have a spinner (named SpinnerCountry) populated by a column selected from a database table (using DBUtils.ExecuteSpinner). That works fine. Sometimes there is only one item. It seems to me rather pointless to make the user select that item. Is it allowed to call directly the item's click routine (i.e. SpinnerCountry_ItemClick)? If so, what would the parameters be (e.g. would Position be 0 and Value be SpinnerCountry.GetItem(0))?
PS Using DBUtils.ExecuteSpinner, it shows the first Country in the spinner's 'label' (on the screen at runtime). When I click the spinner box, it the comes up with a list headed by what I set Spinner.Prompt (i.e. "Please select Country"). It would be nice to see that value in the spinner box before I click on it. Any recommendations?
PS Using DBUtils.ExecuteSpinner, it shows the first Country in the spinner's 'label' (on the screen at runtime). When I click the spinner box, it the comes up with a list headed by what I set Spinner.Prompt (i.e. "Please select Country"). It would be nice to see that value in the spinner box before I click on it. Any recommendations?