Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Closing app and redirect (the browser) to another url
Tue, Sep 6 2016 4:03 AMPermanent Link

Bill

Hi all,
i'm sorry for the newbie question but I didn't come out from a simple problem.
I would like to close my application and redirect the browser to a web url that I would like to set in code, just because I would connect to a particular icon.
Until now I can do easily with a link control or executing DoClick method of a link control in the code.
I would like to replace application window, too.

Is there any other way to do it?

Many thanks in advance
Tue, Sep 6 2016 4:12 AMPermanent Link

Matthew Jones

Bill wrote:

> Is there any other way to do it?

       Window.Location.Replace('http://' + m_szHostAddress);

--

Matthew Jones
Tue, Sep 6 2016 8:14 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< Window.Location.Replace('http://' + m_szHostAddress); >>

Minor correction: you don't need to use Window.Location anymore, you can just use the global Address class instance:

http://www.elevatesoft.com/manual?action=viewcomp&id=ewb2&comp=TAddress

which has an equivalent Replace method.

Tim Young
Elevate Software
www.elevatesoft.com
Image