xBrowser resize

xBrowser resize

Postby Otto » Sat Mar 08, 2008 7: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
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Re: xBrowser resize

Postby Enrico Maria Giordano » Sun Mar 09, 2008 10:07 am

Try using oBrw:Move() method.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8716
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Otto » Sun Mar 09, 2008 4:15 pm

Thank you for your help, Enrico.


//oBrw:Move( nTop, nLeft, nWidth, nHeight, lRepaint ) works!
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 71 guests