FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xBrowser resize
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

xBrowser resize

Posted: Sat Mar 08, 2008 07:10 PM

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

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: xBrowser resize

Posted: Sun Mar 09, 2008 10:07 AM

Try using oBrw:Move() method.

EMG

Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM

xBrowser resize

Posted: Sun Mar 09, 2008 04:15 PM

Thank you for your help, Enrico.

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

Continue the discussion