PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → an alternative way to extract the html-code
an alternative way to extract the html-code
Débuté par Bo Schor, 07 juin 2020 09:07 - 4 réponses
Posté le 07 juin 2020 - 09:07
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
Membre enregistré
6 messages
Posté le 17 juillet 2020 - 00:30
I guess that you are looking for this function:



Membre enregistré
3 messages
Posté le 24 juillet 2020 - 10:32
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
Posté le 24 juillet 2020 - 12:59
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
Posté le 25 juillet 2020 - 12:29
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