Search found 207 matches: beditvalue

Return to advanced search

show a string into xbrowse

I have a field numeric and I wish show the string + "gg"

:bEditValue :={ || str(oBrw:aArrayData[ oBrw:nArrayAt,1])+"gg" }

why not run ?
by Silvio.Falconi
Thu Dec 07, 2023 11:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: show a string into xbrowse
Replies: 4
Views: 410

Re: colorize a xbrowse with a brush

... oBrowse:nArrayAt,6],(oBrowse:aArrayData[ oBrowse:nArrayAt,8]),CLR_WHITE)}}           :bEditValue :={ || "" }           :nDataStrAlign := AL_CENTER        END  oBrowse:aArrayData[ oBrowse:nArrayAt,6] is a logic value ...
by Silvio.Falconi
Wed Nov 08, 2023 9:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: colorize a xbrowse with a brush
Replies: 3
Views: 334

Ayuda con un error en xbrowse

... **** 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" ):bOnChange := { || _DetComF->HastaNew:=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: 278

Re: Reitero consulta para actualizar un campo con XBrowse

Cambia el bEditValid por bEditValue
by cnavarro
Sun Feb 12, 2023 3:39 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Reitero consulta para actualizar un campo con XBrowse
Replies: 6
Views: 509

Re: Problema con xBrowse

... Empty() XBrowse internally translates the expression "IF(EMPTY(HDR_CLI),HDR_TOT,0.00)" into a codeblock like this and assigns to oCol:bEditValue :bEditValue := { |x,oCol| If( Empty( oCol:oBrw:oRs:Fields( "HDR_CLI" ):Value ) ), ;oCol:oBrw:oRs:Fields( ...
by nageswaragunupudi
Sat Apr 30, 2022 4:40 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema con xBrowse (SOLUCIONADO)
Replies: 11
Views: 1156

Re: Cambiar Tree Completo Sobre xBrowse

Remove this code:     :aCols[2]:bEditValue := {|| oBrw:oTreeItem:Cargo[2] }    :aCols[2]:cDataType  := "L"    :aCols[2]:nEditType := EDIT_GET    :aCols[2]:SetCheck()  ...
by nageswaragunupudi
Sat Mar 05, 2022 1:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cambiar Tree Completo Sobre xBrowse (solucionado)
Replies: 9
Views: 763

Re: xbrowse command not working properly -- MR. RAO

... "QUANTITY * PRICE" )  where QUANTITY and PRICE are field names. Now, you may ask. Why did we write fieldGet( name ) in the beditvalue but not fieldget( ncol ). At that time we were getting problem with fieldget( ncol ) with the version of TMySql we were using, but fieldget( ...
by nageswaragunupudi
Wed Feb 23, 2022 5:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse command not working properly -- MR. RAO
Replies: 21
Views: 1384

Xbrowse aCols -> user function

... change the content of the field through user functions such as the field CODCATP of the sample WITH OBJECT oBrwAge WITH OBJECT oBrwAge:aCols[3] :bEditValue :={ || GiveMeProvv(oAgenti:CODCATP) } END since I wanted to create a Table () function to display a window of the archives for selection ...
by Silvio.Falconi
Tue Feb 08, 2022 10:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse aCols -> user function
Replies: 10
Views: 515

datatype

... use @ 110,10 XBROWSE oBrw SIZE -2,-10 PIXEL OF oTabDlg ; DATASOURCE oDbf COLUMNS aCols ; AUTOSORT ; NOBORDER CELL LINES WITH OBJECT oBrw:aCols[3] :bEditValue :={ || TipoIva(oDbf:NUM7,oDbf) } END when I make the order it not take the type of field on archive but the current rows ( string) but if ...
by Silvio.Falconi
Mon Feb 07, 2022 11:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: datatype
Replies: 1
Views: 303

Re: operaciones entre campos en un xBrowse

Cesar prueba en su lugar la data :bEditValue
by cnavarro
Thu Sep 09, 2021 7:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: operaciones entre campos en un xBrowse
Replies: 9
Views: 896

replace value on xbrowse ( tdatabase)

... I need to calc the days on the Seven column ( red column) WITH OBJECT oBrowse:aCols[ 7] :bEditValue := TotalDays(oBrowse) END I tried with ( but not run ok ) Function TotalDays(oBrowse) local nRecord := oBrowse:narrayat local dStart := oBrowse:aArrayData[nRecord][5] ...
by Silvio.Falconi
Tue Apr 20, 2021 8:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: replace value on xbrowse ( tdatabase)
Replies: 4
Views: 456

Re: To Mr. Rao, XBrowse totals (SOLVED)

... 5 ]:nFooterType := AGGR_SUM  Notes: bStrData: Please never use bStrData. This data is deprecated years back. Instead use bEditValue and cEditPicture. bStrData returns a character value. We can not expect XBrowse to total character values. Alignment: XBrowse automatically ...
by nageswaragunupudi
Sun Nov 15, 2020 4:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Mr. Rao, XBrowse totals (SOLVED)
Replies: 8
Views: 967

change on line a combo

... browse header? ok with :lAllowColHiding := .f. at the beginning I insert a column to create the setcheck WITH OBJECT oBrw:InsCol(1) :nwidth:= 30 :bEditValue := { || AScan( oBrw:aSelected, oBrw:BookMark ) > 0 } :SetCheck( nil, .t.) end :bLDblClick := { || oBrw:oCol( 1 ):CheckToggle(), oBrw:RefreshCurrent() ...
by Silvio.Falconi
Thu Nov 12, 2020 10:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: change on line a combo
Replies: 24
Views: 5336

Re: Let Xbrowse update selected colums in other dbf

... RELATION to the other alias on the field Code. You know the field names of the selected columns. For each selected column, please change the oCol:bEditValue like this: nPos := ( cOtherAlias )->( FieldPos( <cfieldname> ) )oCol:bEditValue := { |x| If( x ...
by Marc Venken
Wed Sep 23, 2020 9:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Let Xbrowse update selected colums in other dbf
Replies: 7
Views: 971

Re: Let Xbrowse update selected colums in other dbf

... RELATION to the other alias on the field Code. You know the field names of the selected columns. For each selected column, please change the oCol:bEditValue like this: nPos := ( cOtherAlias )->( FieldPos( <cfieldname> ) )oCol:bEditValue := { |x| If( x ...
by nageswaragunupudi
Wed Sep 23, 2020 3:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Let Xbrowse update selected colums in other dbf
Replies: 7
Views: 971
Next

Return to advanced search