oBrowser field $data

Kelly Burgess kellyb at montana.com
Wed Nov 15 03:01:20 UTC 2023


Correction, because $urlorcontrolname doesn't change as you navigate, so use $currenturl instead...

	HTTPPage ($cinst.$objs.xBrowser.$currenturl) Returns htmlText  ## get the page

Kelly

I wrote:
> Hi Mike,
> 
> This isn't getting it directly from the oBrowser, but if what you want is worth another fetch....
> 
> 	HTTPPage ($cinst.$objs.xBrowser.$urlorcontrolname) Returns htmlText  ## get the page
> 	Calculate htmlText as mid(htmlText,pos(chr(13,10,13,10),htmlText)+4)  ## strip the headers
> 
> Kelly



More information about the omnisdev-en mailing list