Search found 1250 matches: ocol

Return to advanced search

Re: XBROWSE Column Question

STATIC FUNCTION StripFunc( cSeek )


XBrowse automatically uses similar logic to indentify which INDEX/ORDER to be used for which column and stores the INDEXNAME in the data oCol:cSortOrder, while initially building the browse.
XBrowse uses this information to do AutoSort
by nageswaragunupudi
Sat May 06, 2023 2:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE Column Question
Replies: 23
Views: 997

Re: XBROWSE Column Question

... will work where i use INDEXKEY() or OrdKey() to look which FIELD is used SET ORDER TO TAG "CITY"nCol := AScan( oBrw:aCols, { |oCol| oCol:cSortOrder == OrdSetFocus() } )? nColoCol := oBrw:aCols[ nCol ]? oCol:nCreationOrder, oCol:cHeader, c:cExpr// or ...
by nageswaragunupudi
Sat May 06, 2023 2:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE Column Question
Replies: 23
Views: 997

Re: New FTDN April/Abril 2023 (FWH 23.04)

... matriz se basaba en una sola columna. Ahora es posible especificar la ordenación en varias columnas asignando una matriz de números de columna a oCol:cSortOrder. - SeekNext: En caso de búsqueda incremental normal y búsqueda ampliada, ahora es posible ir a la siguiente fila con el mismo valor ...
by Antonio Linares
Thu May 04, 2023 6:37 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2023 (FWH 23.04)
Replies: 4
Views: 1809

New FTDN April/Abril 2023 (FWH 23.04)

... of array browse was sorting on a single column only. Now it is possible to specify multi-column sort by assigning an array of column numbers to oCol:cSortOrder. - SeekNext: In case of Incremental seek normal and wildseek, it is now possible to go to next row with the same seek value by pressing ...
by Antonio Linares
Tue May 02, 2023 7:08 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April/Abril 2023 (FWH 23.04)
Replies: 4
Views: 1809

Re: Leer average en xBrowse

Code: Select all  Expand view

oCol:nTotal / oCol:nCount
 


Note: You also need to include a check if oCol:nCount is 0
by nageswaragunupudi
Sun Apr 09, 2023 1:46 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Leer average en xBrowse
Replies: 2
Views: 210

Re: Dos de xBrowse

oCol:nBtnBmp := <imagefile/resourcename>
by nageswaragunupudi
Wed Apr 05, 2023 3:08 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Dos de xBrowse
Replies: 9
Views: 677

Re: Cell font

You can assign a codeblock to oCol:oDataFont
by nageswaragunupudi
Mon Apr 03, 2023 6:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Cell font
Replies: 5
Views: 359

Re: xBrowse footer picture

Postby nageswaragunupudi » Sun May 03, 2020 6:54 am CODE: SELECT ALL EXPAND VIEW WITH OBJECT oCol :nFooterType := AGGR_SUM :cEditPicture := "€ 99,999.99" :cDataType := "N" END In case of empty arrays we need to inform the datatype of the column by ...
by Detlef
Mon Apr 03, 2023 2:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse footer picture
Replies: 11
Views: 789

Re: xBrowse footer picture

Postby nageswaragunupudi » Sun May 03, 2020 6:54 am CODE: SELECT ALL EXPAND VIEW WITH OBJECT oCol :nFooterType := AGGR_SUM :cEditPicture := "€ 99,999.99" :cDataType := "N" END In case of empty arrays we need to inform the datatype of the column by ...
by Marc Venken
Mon Apr 03, 2023 2:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse footer picture
Replies: 11
Views: 789

Re: Ayuda con un error en xbrowse

Jose Camilo: Y si cambias los oCol por aCol con su subindice? //1) "Articulo", 2)"ArtFor->Detalle", 3)"ArtFor->Abrevia", 4)"Cantidad", 5)"Desde", 6)"Hasta", 7)"DesdeNew",8)"HastaNew" ...
by cmsoft
Tue Mar 28, 2023 10:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con un error en xbrowse
Replies: 2
Views: 319

Ayuda con un error en xbrowse

... := .f. oBrw:bKeyDown:={|nKey,nFlag|iif(veo(@nApu,@oBrw,aBotones,nKey),eval(aBotones[nApu,4]),NIL)} **** en esta linea se produce el error oBrw:oCol( "DesdeNew" ):nEditType := 1 oBrw:oCol( "DesdeNew" ):bEditValue := { || 1*1 } oBrw:aCols[ 7 ]:lAutoSave := .T. oBrw:oCol( "DesdeNew" ...
by José Camilo
Tue Mar 28, 2023 7:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con un error en xbrowse
Replies: 2
Views: 319

Re: more than 1 bmp on a xbrowse column

... but also very useful. I have seen it on grids where tags (like stack overflow tags) are shown. Yes, it would help to see sample code using oCol:bPaintText to paint various bmps based on conditions. Thank you, Reinaldo.
by reinaldocrespo
Thu Mar 23, 2023 5:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: more than 1 bmp on a xbrowse column
Replies: 6
Views: 507

Re: more than 1 bmp on a xbrowse column

Second way is to use
1. bBmpData (left or right align)
2. bStrImage (any position)
3. Text any position

Lastly, paint the column on our own using either oBrw:bPaintRow or oCol:bPaintText
I will provide a sample if required
by nageswaragunupudi
Wed Mar 22, 2023 10:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: more than 1 bmp on a xbrowse column
Replies: 6
Views: 507

Re: Xbrowse Menu with checkbox

... numbers, then the UncheckAll() function tries to delete all checkboxes and makes an error because the command is wrong FOR i := 1 TO LEN(:aCols) oCol := :aCols[ i ] oCol:CheckToggle() next But it perhaps is wrong or bad
by Silvio.Falconi
Sun Nov 20, 2022 12:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse Menu with checkbox
Replies: 5
Views: 504

Re: Txbrowse Column Sort Indicator

You should set
oCol:cOrder := "A"
for the SORTED COLUMN ONLY.

You have set this for all columns.
by nageswaragunupudi
Fri Nov 18, 2022 4:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Txbrowse Column Sort Indicator
Replies: 9
Views: 877
PreviousNext

Return to advanced search