PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV Mobile 2024 → an alternative way to extract the html-code
an alternative way to extract the html-code
Started by Bo Schor, Jun., 07 2020 9:07 AM - 4 replies
Posted on June, 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
Registered member
6 messages
Posted on July, 17 2020 - 12:30 AM
I guess that you are looking for this function:



Registered member
3 messages
Posted on July, 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
Posted on July, 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
Posted on July, 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