Re: Get Text chromium
Posted: Mon Feb 04, 2019 3:56 pm
The TChromium and GlobalCEFApp events are executed in a different thread and you shouldn't modify the interface inside them.
Sometimes you can modify some interface properties inside those events but to be safe, it's recommended to copy the parameters in a class field and then send a message to the main form to use them.
In some cases I skip this recommendation to keep the demos as simple as possible but all the demos should do it.
Copy the "aText" parameter and send a custom message to your form to update the memo contents.
Sometimes you can modify some interface properties inside those events but to be safe, it's recommended to copy the parameters in a class field and then send a message to the main form to use them.
In some cases I skip this recommendation to keep the demos as simple as possible but all the demos should do it.
Copy the "aText" parameter and send a custom message to your form to update the memo contents.