Search found 90 matches: beditblock

Return to advanced search

Re: XBROWSE, con Get, Combobox y CheckBox, en una misma Columna

... { |o,nval| hola(@acDescriptor,@acTemporal,olbx101c,nval) } olbx101c:acols[4]:aEditListTxt := acTemporal //olbx101c:acols[4]:bEditBlock:= { mifuncion('1') } //olbx101c:acols[4]:bBmpAction := { |oCol| mifuncion('2') } //olbx101c:acols[4]:bEditValid :={|| mifuncion('2') } olbx101c:acols[4]:bEditWhen:= ...
by elmoiquique
Thu Mar 28, 2024 9:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: XBROWSE, con Get, Combobox y CheckBox, en una misma Columna
Replies: 10
Views: 2306

Re: Boton en celda xBrowse

Please make sure that bEditBlock returns nil
That means, MiFunction() should return nil.

Explanation:
If bEditBlock returns nil, xbrowse does not take any further action.
But if bEditBlock returns any value other than nil, XBrowse assigns that value to the field.
by nageswaragunupudi
Mon Nov 28, 2022 11:58 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Boton en celda xBrowse
Replies: 1
Views: 281

Re: Imagen en Columna de Xbrowse superpone acciones

Gracias por la rápida respuesta Cristobal.

He probado tu código y el comportamiento es el mismo, cuando pulsas doble click en el botón de "menos" hace las 2 acciones, primero evalúa el bEditBlock y luego el bBmpAction
by VictorCasajuana
Thu Jan 13, 2022 8:48 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Imagen en Columna de Xbrowse superpone acciones
Replies: 4
Views: 408

Re: Editing individual lines

... OBRW1:REFRESH() } oBRW1:lColChangeNotify := .T. oBrw1:aCols[ 2 ]:nEdittype := IIf(obrw1:narrayat==1,EDIT_GET,EDIT_BUTTON) oBrw1:aCols[ 2 ]:bEditBlock := { || MsgYesNo( "Please select" ) } oBrw2:aCols[ 2 ]:nEdittype := EDIT_GET ACTIVATE DIALOG oDlg CENTERED return nil
by MGA
Wed Mar 17, 2021 11:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Editing individual lines
Replies: 2
Views: 481

Need Help With xBrowse (Resolved)

... := { |r,c,f,o| FooterAggrClick( r, c, f, o ) } oBrw:aCols[ 3 ]:cEditPicture := "99" oBrw:aCols[ 3 ]:nEditType := EDIT_GET oBrw:bEditBlock := {|| W_253G( W_253->(RecNo()),3) } Problem is when the user modifies the column [3] [Days] data, the other fields [A1/A5/Gross] same ...
by RiazKhan
Sat Apr 04, 2020 1:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Need Help With xBrowse (Resolved)
Replies: 6
Views: 1017

Re: NECEDAD DE CREAR DOS EDIT_BUTTON EN UNA COLUMNA DE XBROWSE

... y/o Ing. Cristobal Navarro. :aCols[3]:nEdittype := EDIT_BUTTON :aCols[3]:AddResource( "ISR_IVA" ) // tu ícono p/el boton :aCols[3]:bEditBlock := {|| MsgInfo("ISR_IVA") } // llama a una funcion que abre un Dlg y muestra el Detalle // Aqui otro boton en la misma celda o ...
by ACC69
Thu Oct 03, 2019 8:25 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: NECEDAD DE CREAR DOS EDIT_BUTTON EN UNA COLUMNA DE XBROWSE
Replies: 3
Views: 799

NECEDAD DE CREAR DOS EDIT_BUTTON EN UNA COLUMNA DE XBROWSE

... y/o Ing. Cristobal Navarro. :aCols[3]:nEdittype := EDIT_BUTTON :aCols[3]:AddResource( "ISR_IVA" ) // tu ícono p/el boton :aCols[3]:bEditBlock := {|| MsgInfo("ISR_IVA") } // llama a una funcion que abre un Dlg y muestra el Detalle // Aqui otro boton en la misma celda o ...
by ACC69
Thu Oct 03, 2019 2:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: NECEDAD DE CREAR DOS EDIT_BUTTON EN UNA COLUMNA DE XBROWSE
Replies: 3
Views: 799

Re: An easy way to make a tree-browse

... oCol:cHeader := "货币" oCol:bEditValue:= {||odb2:currency} ocol:nedittype:= {||if(::ledit.and.!odb2:EOF(),EDIT_GET_BUTTON,0)} oCol:bEditBlock := {||currencybrw(odb2:currency)} oCol:bOnPostEdit := {|o, v, n| if( n != VK_ESCAPE .and. v != odb2:currency,(v:=currencybrw(v,.t.),odb2:currency:=v,odb2:SAVE()) ...
by ShumingWang
Wed Jul 31, 2019 1:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: An easy way to make a tree-browse
Replies: 17
Views: 3558

xbrowse -get date - resolved

... 120 :nDataStrAlign := AL_CENTER :nHeadStrAlign := AL_CENTER :nDataStrAlign := oBrowse:aCols[ 7]:DefStyle(AL_LEFT,.f.) :nEditType := EDIT_BUTTON :bEditBlock := { |r,c,o,k|(XbrGetDate( o,"Seleziona una data",,1 ),oBrowse:refresh()) } END But it make error , how I can resolve please ?
by Silvio.Falconi
Mon Jul 08, 2019 10:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse -get date - resolved
Replies: 3
Views: 478

Re: trasparent bitmap on xbrowse

... c_Path1 + "Plus.png" ) :aCols[ 6 ]:lBtnTransparent := .t. :aCols[ 6 ]:nBtnBmp := 1 :aCols[ 6 ]:nEditType := EDIT_BUTTON :aCols[ 6 ]:bEditBlock := { | nRow, nCol, oCol, nKey | ; MsgAlert( "Row : = " + ALLTRIM( STR( oBrw:Keyno() ) ) + CRLF + ; "Col : = " + ALLTRIM( ...
by ukoenig
Tue Jun 11, 2019 11:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: trasparent bitmap on xbrowse
Replies: 7
Views: 890

Re: Possible to CALCULATE a listbox-height ?

Mr. Rao, I will post the complete solution it is the way I'm doing it using : :bEditBlock := { | nRow, nCol, oCol , nKey | ; FUNCTION MYCELLDLG( oBrw, nRow, nCol, oCol , nKey, aItems, aImages, nImgHeight, oListFont, nColor ) .... .... ON INIT ( some calculations.... ...
by ukoenig
Sun Apr 28, 2019 6:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible to CALCULATE a listbox-height ?
Replies: 9
Views: 1062

Re: xbrowse listbox

... MyCellDlg( .. that will calculate the needed overall-size in relation to the defined items. WITH OBJECT :aCols[ 3 ] :nEditType := EDIT_BUTTON :bEditBlock := { | nRow, nCol, oCol, nKey | Retvalue := MyCellDlg( oBrw, nRow, nCol, oCol, nKey ), ; IIF( Retvalue <> NIL, ( oCust:City := Retvalue, ...
by ukoenig
Mon Apr 22, 2019 4:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse listbox
Replies: 5
Views: 755

Re: xbrowse edit columns

... la columna y termina normal. /* WITH OBJECT aBrw:aCols[ 1 ] :addbmpfile( op:bmp16+"eye.bmp" ) :nBtnBmp := 1 :nEditType := EDIT_BUTTON :bEditBlock := {|| VerItems( cCodigo,cQry:tipo,cQry:ord_comp )} :lBtnTransparent := .t. :lBmpStretch := .t. END */ he tenido que solucionarlo usando ...
by CARLOS ATUNCAR
Sat Sep 15, 2018 2:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse edit columns
Replies: 17
Views: 4524

Re: add a column on xbrowse and del Row

... 6] :AddBmpFile(".\bitmaps\DLG_NO_MIN.bmp ") :lBmpStretch := .F. :lBmpTransparent := .T. :nwidth := 10 :nEditType := EDIT_BUTTON :bEditBlock := { ||DeleteRow(oBrowse,aGet) } END END the problem : ( I not see the bitmap on row but only the button) https://s8.postimg.cc/5dk2oja7p/image.png ...
by Silvio.Falconi
Fri Jul 13, 2018 8:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: add a column on xbrowse and del Row
Replies: 3
Views: 721
Next

Return to advanced search

cron