comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: open HTTP links from a widget
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: open HTTP links from a widget [message #41069] Wed, 22 September 2004 17:55
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
Benjamin Hornberger wrote:
> Hi all,
>
> I saw that in the IDL demo they have links to the RSI website and other
> places, which open my default system web browser. Does anyone know how
> to do that? I would like a button in the Help menu of a widget program
> that opens the documentation on the web.

In principle, you could work this out by examining the demo source,
which is in

<IDL_DIR>/examples/demo/demosrc

but in practice this is difficult, as the demo system is somewhat
complicated and involves a menu system defined in XML.

But the answer is that they use the ONLINE_HELP command (in
demoObj__define.pro), with the BOOK keyword to define the HTML file.
This only allows access to a local file. To get out into the WWW they
use local HTMl files with redirections, eg see the files in

<IDL_DIR>/examples/demo/demourls


--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
[Message index]
 
Read Message
Previous Topic: controlling the hourglass cursor
Next Topic: Top-level bases

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 01:59:48 PDT 2025

Total time taken to generate the page: 1.44267 seconds