PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV Mobile 2024 → an alternative way to extract the html-code
an alternative way to extract the html-code
Iniciado por Bo Schor, jun., 07 2020 9:07 AM - 4 respostas
Publicado em junho, 07 2020 - 9:07 AM
Hi all,

I want to be able to extract the html-code from a html control in a Windev Mobile environment. The displayvalue property do the trick, but it is unfortunately not available for andriod (also documented in the help). It works in the simulation test environment, but not on the phone.

Do anyone have an alternative way to extract the html-code?

best regard
Bo Schor
Membro registado
6 mensagems
Publicado em julho, 17 2020 - 12:30 AM
I guess that you are looking for this function:



Membro registado
3 mensagems
Publicado em julho, 24 2020 - 10:32 AM
Dear Roberto

Thank you for your answer.

I know the HTMLToText function, and it is very useful, when you already have extracted the html-code. BUT my problem is to extract the html-code from a HTML CONTROL in a Windev Mobile environment.

Do you (or anyone else) have any experiences doing this?

Best Regards
Bo
Publicado em julho, 24 2020 - 12:59 PM
I haven't tried, but generally, the simplest way is the right one. So just try doing:
MyString = MyHTMLControl

If things work as usual, that should work

alternatively, if the first one doesn't work, try MyString=MyHTMLControl..Value
Publicado em julho, 25 2020 - 12:29 PM
Hi Argus

Thank you for your quick respons, but unfortunately it does not seem to be supported in Windev mobile environments like android and IOS - only in the simulator.

best regards
Bo