FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour XBROWSE NOT RESIZE
Posts: 1054
Joined: Sun Oct 09, 2005 10:41 PM
XBROWSE NOT RESIZE
Posted: Wed Oct 04, 2023 02:31 AM
Estimado Mr. Rao: la clausula SIZE no funcion,,, el XBROWSE lo tengo dentro de una ventana MDI
Gracias por su atencion.
Code (fw): Select all Collapse
       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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: XBROWSE NOT RESIZE
Posted: Mon Oct 09, 2023 02: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

Continue the discussion