... Hago esto: @ nRenBrw,00 BROWSE oBROWSE SIZE SIZE_LON,SIZE_ANC; FONT oFontb UPDATE PIXEL OF oVENTANA; COLOR COLOR_NEGRO,COLOR_GRIS for i:=1 to len(COLUM) ADD COLUMN TO BROWSE oBROWSE; TITLE HEAD_CAM[i]; DATA COLU_BLO(i); SIZE SIZE_CAM[i]; ALIGN JUST_FIL[i], DT_VERT; EDITABLE MOVE DT_MOVE_RIGHT ...
... Hago esto: @ nRenBrw,00 BROWSE oBROWSE SIZE SIZE_LON,SIZE_ANC; FONT oFontb UPDATE PIXEL OF oVENTANA; COLOR COLOR_NEGRO,COLOR_GRIS for i:=1 to len(COLUM) ADD COLUMN TO BROWSE oBROWSE; TITLE HEAD_CAM[i]; DATA COLU_BLO(i); SIZE SIZE_CAM[i]; ALIGN JUST_FIL[i], DT_VERT; EDITABLE MOVE DT_MOVE_RIGHT ...
Hi And thanks for reply. That is not my problem. XBROWSE is created with data received from SQL SELECT statement, so i dont know the columns or their sizes. if some column size is the same or large than xbrowse width, user CANT catch right corner of the column and drag it to the left to make smaller...
You can adjust Columns to any size You like This sample would adjust all Columns to width 30 aeval( oBrw:aCols, { |oCols| oCols:nWidth := 30 } ) or a defined Col : oBrw:aCols[ 1 ]:addbmpfile( "..\bitmaps\16x16\adddbf.bmp" ) oBrw:aCols[ 1 ]:lBtnTransparent := .t. oBrw:aCols[ 1 ]:nBtnBmp := ...
Hi all Please how to resize comumn in xbrowse if the column size is the same or large than xbrowse width so it is visible only that column in that moment. Best regards,
... remain in in folder 1 I modify the foldxbrw.prg in samples adding : oBrw1:aCols[ 2 ]:bEditBlock := { || oFld:SetOption(2) } After click on the colum and switch in folder 2 try the arrows key , doesn't work because the focus remain on folder . Regards Maurizio #include "FiveWin.ch" ...
... la version 9.0 si edito pero al visualizar mi sbrowse no me muestra nada en mis columnas con checkbox, el codi es /// version 6 for i:=1 to len(COLUM) if _lCHECK(i) ADD COLUMN TO BROWSE oBROWSE; TITLE HEAD_CAM[i]; DATA COLU_BLO(i); SIZE ALTO_CELDA CHECKBOX; COLOR COLU_CLR(i); ALIGN DT_CENTER, ...
... la version 9.0 si edito pero al visualizar mi sbrowse no me muestra nada en mis columnas con checkbox, el codi es /// version 6 for i:=1 to len(COLUM) if _lCHECK(i) ADD COLUMN TO BROWSE oBROWSE; TITLE HEAD_CAM[i]; DATA COLU_BLO(i); SIZE ALTO_CELDA CHECKBOX; COLOR COLU_CLR(i); ALIGN DT_CENTER, ...
Hello, Clicking on a header , the array is sorted with the data from this colum. In some cases i want to add a second key , or column , like we can do in a index expression. I tryed to add a new data to TXBrwColumn (bOrder) , but it seems to be too complicated. ...
Hello, Clicking on a header , the array is sorted with the data from this colum. In some cases i want to add a second key , or column , like we can do in a index expression. I tryed to add a new data to TXBrwColumn (bOrder) , but it seems to be too complicated. ...
... oArqEmp, { "SIGLA", "FANTASIA", "CIDADE", "UF" }, .t. ) When using the aCols parameter, how do you define colum titles that are different than the fieldnames. I'm guessing we have to assign them to each column? oBrw:aCols[ 2 ]:cHeader:="Whatever" ...
... -> MyArray[6] (4)EvalMacro('var1) --> &var1 5. print page 1/3 ,2/3, 3/3 , in .fr3 [#page]['/'][#totalpage] 6. Auto split too long text colum into 2,3,... lines in .fr3,(1)masterdata1AllowSplit Y,Strethed Y, (2)masterdata exvery cell StresMode Y Line____name_____addrs________________birthday ...
Hi all, I have a xbrowse, in firt colum i have a bitmap oCol := oBrw:AddCol() oCol:AddResource("CHECKOFF") oCol:AddResource("CHECKON") oCol:bBmpData := { || 2, 1 } oBrw:bKeyDown := {|nKey| Seleg(nkey)} In Seleg() i have ...
I saved on a file INI the state of Xbrowse. for sample I have a dbf with 4 fields First Last Street City for each colums I save the state on file INI: the number of column the size of column the name of header and the logic variable if itis shoed or not look this please CuState=21;1:150:First:S;2:150:Last:S;3:150:Street:S;4:150:City:S ...