How to specify dialog size when using xbrowser?

Post Reply
hua
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am

How to specify dialog size when using xbrowser?

Post by hua »

Hi guys.
When using the XBROWSER command is it possible to specify the wanted height and width of its dialog?

TIA
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
User avatar
Antonio Linares
Site Admin
Posts: 42256
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: How to specify dialog size when using xbrowser?

Post by Antonio Linares »

Dear Hua,

Code: Select all | Expand

XBROWSER uValue TITLE "My xbrowse" SETUP Setup( oBrw )

function Setup( oBrw )

   oBrw:oWnd:SetSize( 400, 200 ) // desired width and height

return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
hua
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am

Re: How to specify dialog size when using xbrowser?

Post by hua »

Thanks for such prompt response Antonio!
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
Post Reply