> Graham Smith wrote:
> 
> Dear List,
> 
> I want to write something in Mapbasic which would allow you to open
> HTML pages within MapInfo.
> 
> Can you help at all.

Hi All!

This is what Trey Pattillo wrote a while ago:
*********************************************************************
 
I (Trey Pattillo) just put HtmlView on the website
www.wap3.com/download/HtmlView.zip
 
Use Launch.App www.wap3.com/download/Launch.zip or on of the other fine
launchers available in the list
download to let you user click on the map and then "take them to the
web" or use it in your "help" menu to take
them directly to your site.  Will also work with any other application
that can launch a program.

HtmlView is just a simple browser instead of the usual *pig-ware*

Since it is written in Delphi, just put the files in a folder and your
ready to go.
 
Give your user only the functionality you want............
 
Features:
1) Work with local files or get page from the web
2) You can hide/show the basic NavBar [back,forward,refresh,stop and url
entry]
3) Stop user from jumping to links [java & scripts will still work - on
the wish list]
4) Keep user from closing window/app [then close it yourself with /QUIT
parameter]
5) Hide Min/Max window buttons and menu
6) Set initial top/left/width/height default is 1/4 of screen centered
[works with any resolution]
7) Use your own title in the window caption
8) Set window for *Stay On Top* [like Windoze Task Mgr or some
find/search boxes]
9) Reset default parameters
10) Gets new pages into the same window - won't muck up the users screen
11) Small compact and clean code 168k


Example for MapBasic
To The Web:
Run Application "c:\HtmlView\HtmlView.exe /F=www.wap3.com"
Local:
Run Application "c:\HtmlView\HtmlView.exe /F=c:\webpages\index.html
/topon /linkoff /x=0 /y=0 /w=320 h=240
/closeoff"

Trey Pattillo
[EMAIL PROTECTED]
http://www.wap3.com
*******************************************************************

Check this guys stuff out, I had a quick test run ad it seems as a good
idea.

Mats.E
-- 
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:Email/ [EMAIL PROTECTED]                     ICQ#9517386       :
:---------------------------------------------------------------------:
:Mail/ GISKRAFT, Mats Elfstroem, Vaepplingv 21, SE-227 38 LUND, SWEDEN:
:Phones: +46 46 145959, +46 70 595 3935                               :
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to