Search found 94 matches: beditblock

Return to advanced search

Re: To nages : modify of a xbrowse

What is this? :aCols[1]:bEditBlock := { |r,c|IIF(oBrwFilter:nArrayAt = 1,MsgInfo("not"),) } What is the purpose of bEditBlock? I not Know I found this line on this forum on first colum I use :aCols[1]:nEditType ...
by Silvio.Falconi
Thu May 09, 2024 8:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To nages : modify of a xbrowse
Replies: 6
Views: 176

Re: To nages : modify of a xbrowse

What is this?
Code: Select all  Expand view
:aCols[1]:bEditBlock := { |r,c|IIF(oBrwFilter:nArrayAt = 1,MsgInfo("not"),) }

What is the purpose of bEditBlock?
by nageswaragunupudi
Thu May 09, 2024 3:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To nages : modify of a xbrowse
Replies: 6
Views: 176

Re: To nages : modify of a xbrowse

... 4 ]:nMaxLen := n Nages, on first column I made :aCols[1]:nEditType := EDIT_LISTBOX :aCols[1]:aEditListTxt := acOperators :aCols[1]:bEditBlock := { |r,c|IIF(oBrwFilter:nArrayAt = 1,MsgInfo("not"),) } I not want the end use can select the combobox if is on first line ( SEE ...
by Silvio.Falconi
Wed May 08, 2024 7:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To nages : modify of a xbrowse
Replies: 6
Views: 176

To nages : modify of a xbrowse

...     :CreateFromCode()   END for the first column I wish it not show the listbox when is the first line of array this not run :aCols[1]:bEditBlock := { |r,c,oCol|IIF(!oBrwFilter:nArrayAt = 1, MsgInfo("Non puoi")) } for the 4th column I have problem because I cannot insert more ...
by Silvio.Falconi
Wed May 08, 2024 10:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To nages : modify of a xbrowse
Replies: 6
Views: 176

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: 2789

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: 285

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: 413

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: 489

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: 1030

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: 809

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: 809

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: 3592

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: 482

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: 898
Next

Return to advanced search