Hello Danny,
If I am not wrong the Select control never show a horizontal scroll, and, we can't force it using any CSS style. A possible workaround can be to place the Select inside a Container, made the Select as width as the larger item, and, set the Container's width to what we wanted, and then use the "overflow-x: auto" of the Container. You can see this approach in the below app sample:
Another possible approach is to use a Menu control instead of a Select one, and use the "overflow-x" of the Menu:
Another approach (probably the best to me) can be to use a HTML control, and, use our own HTML markup to show a list of "large items" in a way that don't get out of the screen, so we no need the horozintal scroll at all:
P.S. In this last app sample, you must look at the view Show event, as well the HTML markup placed in the used HTML control.
Glad to know that you got it, Danny!
Mala suerte, entonces: por alguna razón Cordova no soporta esos eventos en iOS... :-(
Hola Jordi,
¿De qué plataforma estamos hablando? Puesto que esos eventos parecen disponibles sólo en Android...
Hello Danny,
If we talk about the "Alert" action there is no problem even if the view changes. Remember than the "Alert" action show a native platform dialog alert, so this action is quite recommendable. However, if we want to use the "AlertBox" action, then we must take in count that when we go to another view, the possible alert is hidden. So the approach must be: 1º Set a flag variable like "ShowAlert" to "true" before we move to another view. 2º Use the another view Show event to look for the flag variable, and, if required, show then yes, use the "AlertBox" action.
So the button which go to another view can look like this:
And therefore in the "View2" Show event we can write this code:
Absolutely right, Danny! That's exactly!
Hello Danny,
We are talking about paragraphs and textboxes for the code... that is, the "p" and the "code" HTML tags... probably we no need an editor for this beyond the Notepad. ;-)
Hello Danny,
Please, remember to use the "code" HTML tag. Certainly, you are right, the Dropdown don't work as expected in your project, but, it's not related with the control itself, but with the app theme that you are using. Apparently that theme ("Cosmo") have some problems with the Dropdown control. Other themes too. I need to investigate this when possible. In the meanwhile... sorry but you cannot use the "Cosmo" nor other affected themes.
Hello Danny,
It's quite rare. Maybe you are changing the Dropdown Items variable at runtime? Remember that variable is an Array, so you cannot set an string to it, for example.
You're welcome, Danny! :-)
Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.