XBROWSE NOT RESIZE

XBROWSE NOT RESIZE

Postby Willi Quintana » Wed Oct 04, 2023 2:31 am

Estimado Mr. Rao: la clausula SIZE no funcion,,, el XBROWSE lo tengo dentro de una ventana MDI
Gracias por su atencion.
Code: Select all  Expand view

       REDEFINE XBROWSE oBrw ;
                ARRAY aRCom;    
                FASTEDIT LINES SIZE (IF(!lResize, 1200, 400), 600) ;      // <------ SIZE no funciona----
                COLOR CLR_BLACK, oApp:cFondo04 ;
                FONT oApp:oFontBrw1 ;  
                ID 100 OF oDlg

 
User avatar
Willi Quintana
 
Posts: 1019
Joined: Sun Oct 09, 2005 10:41 pm
Location: Cusco - Perú

Re: XBROWSE NOT RESIZE

Postby nageswaragunupudi » Mon Oct 09, 2023 2:13 am

"SIZE " clause woks only when we create xbrowse from code, not when we create XBROWSE from resource, because RC file restricts the size of the control.

I have not yet tested it but try:
After redefining the xbrwose, set
oBrw:nWidth := ...
oBrw:nHeight := ...
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10643
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 29 guests