ie (Internernet-Connection)

use Object ie to communicate with internet-explorer-object

you have one object per window

 

or

send a url with post-Parameter and wait for an answer

 

Send URL-String via Post

object=ue_ie=send=<url>=<port>=<post-parameters>[/-eof-]<post-parameters> ...

send Parameter with content-Type "text/html"

Result is in value "is_result"

if Result a html-Page, then beas save only the body-Area in "is_result"

Example

object=ue_ie=send=http://www.mypage.de=80=itemcode=A01234

messagebox=<is_result>

 

 

Internet-explorer-object

Properties and functions

x, y, width, height

if you make the html-browser visible, you can set the position

if you use width=max or height=max, beas calculate the position automatically. If the user resize the window, you must set the width and height again

setmax

set the width and height automatically to max and make the browser to visible

visible

set the visible-status of the internet-browser

webresize

send the coordinate to the child-window from the webbrowser-object

navigate=http:\...

navigate to the url

gohome

go to he home-adress

execwb=Int=int

Send the execute-Command to the web-Object

setsource

set the sourcecode to display in the web-Object (html-Source)

refresh

Refresh the object

print

send the display from webbrowser to printer

pagesetup

open page setup



 

Icon Bar List, Edit Mode

designmode=true/false

toggle design mode

icon.enable=true

activate tool bar

icon.setdw=x

set the datawindow for tool bar (standard = dw_6)

 

Get and set source

setsource

set the sourcecode to display in the web-Object (html-Source)

getsource

example

 
global function webbrowser_navigationcomplete2

ie.getsource

messagebox=<value>

end global

 

declare=ie=ue_ie

ie.navigate=http://www.myphpexampleside.com

gethtml

return html code in "<value>"

getbody

return only body area in "<value>"

inserthtml

Example: insert table in current place

ie.inserthtml=<table><tr><td></td></tr></table>

copy

copy marked area as html to clipboard

cut

cut the marked area

paste

insert clipboard in current place as html

selectall

mark all

plainpaste=true/false

normaly insert html with clipboard is blocked (ie.plainpaste=true)
You can deactivate this blocking with ie.painpaste=false

 

Format

bold

 

italic

 

underline

 

insertimage

 

createlink

 

 

Events

navigatecomplete

if you navigate to an url and the browser is ready with display the page, beas set the Variable "sys_currenturl" to the actual url and trigger the function webbrowser_navigationcomplete2()