Internet class (Object)
global function(s)
getInternet(String) - Returns an internet class object. The string provided will be the name of the client provided
properties
Header : String - The additional header to be sent with the next getURL request
methods
getURL(Path) - Returns a string containing the contents of the url. nil on failure
postURL(Path, URLEncodedData) - Posts the given data to the path and returns the results
function createPictureFromURL(url)
local http = getInternet()
local file = http.getURL(url)
http.destroy()
local picture = createPicture()
local stream = createStringStream(file)
picture.loadFromStream(stream)
return picture
end
if form then form.destroy() form = nil end
form = createForm()
form.Popupmode = 0;
form.Position = poDesktopCenter
local FrmImg1 = createImage(form)
FrmImg1.Left=50 FrmImg1.Height=240 FrmImg1.Top=5 FrmImg1.Width=240
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum