buildComboBoxOptionsList

Workarounds and usability notes.

buildComboBoxOptionsList

Postby John Robin Dove » Sat Nov 23, 2019 8:41 am

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.
John Robin Dove
 
Posts: 486
Joined: Thu Jan 23, 2014 4:35 am

Re: buildComboBoxOptionsList

Postby Clifton » Sat Nov 23, 2019 9:23 am

What happens on an Android system?
Clifton
Site Admin
 
Posts: 732
Joined: Tue Jan 14, 2014 1:04 am

Re: buildComboBoxOptionsList

Postby John Robin Dove » Sat Nov 23, 2019 10:20 am

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!
John Robin Dove
 
Posts: 486
Joined: Thu Jan 23, 2014 4:35 am

Re: buildComboBoxOptionsList

Postby Clifton » Sat Nov 23, 2019 2:28 pm

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.
 
Clifton
Site Admin
 
Posts: 732
Joined: Tue Jan 14, 2014 1:04 am

Re: buildComboBoxOptionsList

Postby John Robin Dove » Sun Nov 24, 2019 12:02 pm

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
John Robin Dove
 
Posts: 486
Joined: Thu Jan 23, 2014 4:35 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron