toggle quoted message
Show quoted text
The only solution I know is a nice trick that was mentioned here
some years ago (yes this group is really magic! )
Tried it with uniPaaS & XPA3 and it works fine with both ActiveX
and .NET browser control (which is actually the same control:
Microsoft encapsulated the Active-X browser inside a .NET wrapper).
Use the browser's status-line property.
Inside your HTML, use a script to access the status-line text
property, and update it when user clicks on the map.
Add there some custom text like <X=32.123456, Y=43.12345>.
Make sure it's in a format safely readable by your program and
cannot be confused with anything else that may automatically written
in the status line.
Then access it from Magic as a property of the .NET browser object.
If I remember well, you read it when the onChange event is
On 16/2/2017 9:22 μμ, Graham White wrote:
We have an XPA 3.2 app which allows the
user to map all of their clients within a range of their
current location in a browser control. On the map we allow
them to click a marker and an information window pops up
displaying information we have put in the html that launched
the map. What we would like to do is be able to click
somewhere in that pop up and return something back to the XPA
app so that we can then go to the client. Does anyone know if
this is possible and if so point me in the right direction to
figure out how to do it.
Thanking you in anticipation.
Software Developer |
EC Credit Control | www.eccreditcontrol.com
This e-mail message and any attachments are
confidential to EC Credit Control and subject to legal
privilege. If you have received this e-mail in error, please
advise the sender immediately and destroy the message and
any attachments. If you are not the intended recipient you
are notified that any use, distribution, amendment, copying
or any action taken or omitted to be taken in reliance of
this message or attachments is prohibited.