Notifications
Clear all

[Closed] Resizing an internet explorer activeX to fit window?

How do I resize an internet explorer (mshtml) activex control to fill a resizable window? I can’t seem to set the width property at all.

	rollout rBrowser "Browser" silenterrors:true
 	( 
 		activeXControl axHTML "http://google.ca" setupEvents:true releaseOnClose:true
 		on rBrowser open do (
 			showProperties axHTML
 			print " - "
 			showMethods axHTML
 			print " - "
 			showEvents axHTML
 			
 		)
 		
 		on rBrowser resized wh do (
 			print "Resizing rollout"
 			axHTML.Width = wh.x
 		)
 	)
 
  browserDialog = CreateDialog rBrowser height:300 width:500 style:#(#style_resizing, #style_titlebar, #style_border, #style_sysmenu)