Page 1 of 1

buildComboBoxOptionsList

PostPosted: Sat Nov 23, 2019 8:41 am
by John Robin Dove
Hi Clifton,

I noticed something odd when testing a program with Chrome on an Android tablet. In a single select listbox the items do not seem to be displayed correctly. There is no problem if a combobox is used. I have put a test app here https://www.mediacours.com/programs/combo/ and the 9.01 tbk is here https://www.mediacours.com/tb_examples/combo.zip This problem only exists if you use an Android tablet. With Chrome on a pc everything is normal.

Re: buildComboBoxOptionsList

PostPosted: Sat Nov 23, 2019 9:23 am
by Clifton
What happens on an Android system?

Re: buildComboBoxOptionsList

PostPosted: Sat Nov 23, 2019 10:20 am
by John Robin Dove
No items are displayed just a tiny downward pointing arrow like the one on the combobox. I haven't figured out how to take a screenshot on the tablet despite the dozens of help videos on the subject. Maybe my tablet is too old.
I've had it for at least two years! :D

This is a fake screen shot but identical to the real thing I think.

Image

If you tap on the arrow the items appear above the field and in the test app they do function.

In my project they also somehow get confused with a flashing object and also start flashing!

Re: buildComboBoxOptionsList

PostPosted: Sat Nov 23, 2019 2:28 pm
by Clifton
Please see this information on Android systems and list boxes:
https://www.construct.net/en/forum/construct-2/closed-bugs-22/list-items-type-listbox-not-112112

As indicated in the page reference, there is no list box control available on an Android system and so the appearance you are seeing is the best those systems can do to reproduce the effect you are trying to achieve. I tested this on my new Android phone and this is still an issue for these devices. Hopefully, someday this will be fixed.
 

Re: buildComboBoxOptionsList

PostPosted: Sun Nov 24, 2019 12:02 pm
by John Robin Dove
OK thanks for your reply. I had more or less guessed that it was this type of problem. I can get around it by testing for Android and using a combobox when necessary.
John