PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV Mobile 2024 → Enable Input File on HTML Control
Enable Input File on HTML Control
Iniciado por REVOLUTIONCHAIN, fev., 28 2020 8:18 PM - 2 respostas
Membro registado
12 mensagems
Publicado em fevereiro, 28 2020 - 8:18 PM
I have a Main windows with an HTML Control. I load a website in it, but for simplicity let's load just the portion of the code which is making me crazy like this.


HTML_Control = [
<input type="file" id="avatar" name="avatar" accept="image/png, image/jpeg">
]

When launching the application, if I click on the button, nothing happens. In theory, it should open the filepicker. There's a way to enable it? Maybe via native Java code? I already have enabled the execution of JS code, even if not needed.

Thanks you all,
Nicola
Mensagem modificada, fevereiro, 28 2020 - 8:19 PM
Publicado em maio, 23 2022 - 9:18 AM
Hello, I have the same problem, have you found a solution for it ?

Thanks.
Publicado em julho, 27 2022 - 11:40 AM
REVOLUTIONCHAIN a écrit :
I have a Main windows with an HTML Control. I load a website in it, but for simplicity let's load just the portion of the code which is making me crazy like this.


HTML_Control = [
<input type="file" id="avatar" name="avatar" accept="image/png, image/jpeg">
]

When launching the application, if I click on the button, nothing happens. In theory, it should open the filepicker. There's a way to enable it? Maybe via native Java code? I already have enabled the execution of JS code, even if not needed.

Thanks you all,
Nicola


Hello,

I have the same problem, do you solved it ?

Thanks !