How to specify dialog size when using xbrowser?

How to specify dialog size when using xbrowser?

Postby hua » Fri Oct 11, 2024 4:36 am

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
hua
 
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am

Re: How to specify dialog size when using xbrowser?

Postby Antonio Linares » Fri Oct 11, 2024 4:47 am

Dear Hua,

Code: Select all  Expand view
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
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: How to specify dialog size when using xbrowser?

Postby hua » Fri Oct 11, 2024 7:26 am

Thanks for such prompt response Antonio!
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
 
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 48 guests