Page 1 of 1

xBrowser resize

Posted: Sat Mar 08, 2008 7:10 pm
by Otto
How to resize a xBrowser if I the window is resized
I tried:
ACTIVATE WINDOW oWnd ON RESIZE ( oBrw:nRight := oWnd:nWidth() - 17,; oBrw:nBottom := oWnd:nHeight()- 100 )
but didn't work.
Thanks in advance
Otto

Re: xBrowser resize

Posted: Sun Mar 09, 2008 10:07 am
by Enrico Maria Giordano
Try using oBrw:Move() method.

EMG

Posted: Sun Mar 09, 2008 4:15 pm
by Otto
Thank you for your help, Enrico.


//oBrw:Move( nTop, nLeft, nWidth, nHeight, lRepaint ) works!