How can I save the size and the order of TwBrowse-columns (changed from the user) and restore it by the next call?
How to show a column-header with two or three lines - and centered?
Thanks
LOCAL VEC_FIELD:={{ || IF((cAlias)->ESTADO=='C','Cerrado','Abierto') } ,;
{ || (cAlias)->PUNTOVTA } ,;
LOCAL VEC_ENC := { oemtoansi("Estado"),;
"Punto"+CRLF+"Venta" ,;
LOCAL aSizes:={80,50, ... }
REDEFINE LISTBOX oBrwMov fields ID 999 OF oDlg ;
ALIAS (cALIAS) ;
COLOR CLR_BLACK, CLR_WHITE UPDATE ;
ON DBLCLICK EditaTurno( @fCantI,@fCantE,oBrwMov, oBrwMov:nColAct, EVAL(VEC_FIELD[oBrwMov:nColAct]), .T.,cAlias )
oBrwMov:SetCols( VEC_FIELD, VEC_ENC, aSizes )
oBrwMov:aHJustify := {2, 2, 0, 1 }
oBrwMov:aJustify := {2, 2, 0, 1 }
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 49 guests