PDA

View Full Version : Resizing an internet explorer activeX to fit window?


WillyWonka
05-15-2007, 09:00 PM
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)

CGTalk Moderation
05-15-2007, 09:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.