Search found 334 matches: nedittype

Return to advanced search

FWH 24.09 y bOnPostEdit

Hola amigos.. les consulto, tengo la siguiente funcionalidad en mi xbrowse: oBrw:aCols[19]:nEditType :=EDIT_GET oBrw:aCols[19]:bOnPostEdit:={|oCol,xVal,nKey,f| If(nKey==VK_RETURN,MsgStop("alerta"),)} Cuando pulso 2click sobre la columna 19 de mi browse, me ...
by TOTOVIOTTI
Tue Oct 22, 2024 9:55 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FWH 24.09 y bOnPostEdit
Replies: 11
Views: 393

Re: Edit cell IN xBrowse for nEditType EDIT_GET_BUTTON

...  // PAINT BUTTON   //----------------------------------------------------------------------------//   if ::nEditType > 1 .and. ::nEditType < EDIT_DATE      if lSelected          ::PaintCellBtn( hDC, oBtnRect, aColors )      endif   endif  with ...
by ralph
Fri Oct 18, 2024 6:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Edit cell IN xBrowse for nEditType EDIT_GET_BUTTON
Replies: 5
Views: 215

Re: Edit cell IN xBrowse for nEditType EDIT_GET_BUTTON

2) Is it posible to trigger the :bEditBlock when F2 is pressed and only when the cell is editable ? if nEditType is EDIT_GET_BUTTON, then when F2 is pressed, the Get is invoked. if nEditType is EDIT_BUTTON, then when F2 is pressed the ButtonAction is invoked. For your requirement ...
by ralph
Fri Oct 18, 2024 3:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Edit cell IN xBrowse for nEditType EDIT_GET_BUTTON
Replies: 5
Views: 215

Re: Edit cell IN xBrowse for nEditType EDIT_GET_BUTTON

1) when the F2 key is pressed the cell is edited even if :bEditWhen is FALSE Please modify this like this:   case nKey == VK_F2 .and. ::lF2KeyToEdit .and. ! ::lReadOnly        if ! ::lEditMode            WITH OBJECT ::SelectedCol()               if :lEditable //! :lReadOnly                 ...
by ralph
Fri Oct 18, 2024 3:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Edit cell IN xBrowse for nEditType EDIT_GET_BUTTON
Replies: 5
Views: 215

Re: Edit cell IN xBrowse for nEditType EDIT_GET_BUTTON

2) Is it posible to trigger the :bEditBlock when F2 is pressed and only when the cell is editable ? if nEditType is EDIT_GET_BUTTON, then when F2 is pressed, the Get is invoked. if nEditType is EDIT_BUTTON, then when F2 is pressed the ButtonAction is invoked. For your requirement ...
by nageswaragunupudi
Fri Oct 18, 2024 10:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Edit cell IN xBrowse for nEditType EDIT_GET_BUTTON
Replies: 5
Views: 215

Re: Edit cell IN xBrowse for nEditType EDIT_GET_BUTTON

1) when the F2 key is pressed the cell is edited even if :bEditWhen is FALSE Yes. This is a bug in xbrowse.prg, which has been overlooked for many years. Thanks for pointing this out. Can you apply this fix in xbrowse.prg and confirm if this working well. Please locate these lines in METHOD KeyDown...
by nageswaragunupudi
Fri Oct 18, 2024 9:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Edit cell IN xBrowse for nEditType EDIT_GET_BUTTON
Replies: 5
Views: 215

Edit cell IN xBrowse for nEditType EDIT_GET_BUTTON

[*]Dear master Nages, a few questions:   ...   WITH OBJECT oBrw      :nEditTypes    := EDIT_GET      :lFastEdit := .t.      :lF2KeyToEdit := .t.      :bPastEof   := { || iif(!empty(field->codprd),dbappend(), ), oBrw:RefreshCurrent() ...
by ralph
Thu Oct 17, 2024 8:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Edit cell IN xBrowse for nEditType EDIT_GET_BUTTON
Replies: 5
Views: 215

Re: Need Help giide for my program

... ) :nFooterType := AGGR_SUM END next for each cCol in { "qty", "price", "discount" } WITH OBJECT oBrw:oCol( cCol ) :nEditType := EDIT_GET :bEditValid := { |o| o:VarGet() >= 0 } :bOnChange := { || oBrw:MakeTotals( { "amount", "net" } ), oBrw:RefreshFooters(), ...
by Otto
Fri Jul 19, 2024 7:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Need Help guide for my program.
Replies: 38
Views: 2345

How to change image on edit_button in xBrowse

...      oCol:nBtnBmp := 1       oCol:AddResource("PDF")       oCol:nWidth    := 36       oCol:oDataFont     := oFontBrw       oCol:nEditType     := EDIT_BUTTON       oCol:bEditBlock    := { | nRow, nCol, oCol, nKey | DownLoadXml(rtrim(RptSpsFak->Eid),"1") ...
by mtajkov
Tue Jun 25, 2024 6:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to change image on edit_button in xBrowse
Replies: 4
Views: 514

Re: Problema con xBrowse

Armando:
No se si es un error al copiar, pero esta linea
nEditType := EDIT_GET
debería ser
:nEditType := EDIT_GET
by cmsoft
Thu May 30, 2024 12:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema con xBrowse
Replies: 3
Views: 583

Re: To nages : modify of a xbrowse

... } What is the purpose of bEditBlock? I not Know I found this line on this forum on first colum I use :aCols[1]:nEditType := EDIT_LISTBOX :aCols[1]:aEditListTxt := acOperators I wish only it can run only when the oBrwFilter:nArrayAt not is 1 ( first row)
by Silvio.Falconi
Thu May 09, 2024 8:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To nages : modify of a xbrowse
Replies: 8
Views: 954

Re: To nages : modify of a xbrowse

... chars you want to enter OR oBrw:aCols[ 4 ]:lVarChar := .T.// AND/ORaCols[ 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"),) ...
by Silvio.Falconi
Wed May 08, 2024 7:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To nages : modify of a xbrowse
Replies: 8
Views: 954

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

... ARRAY acDescriptor UPDATE FOOTERS LINES AUTOCOLS CELL olbx101c:nRowHeight := 25 olbx101c:acols[3]:nEditType:= EDIT_GET olbx101c:acols[3]:cEditPicture:="@!" olbx101c:acols[3]:bEditWhen:= { || olbx101c:aArrayData[olbx101c:nArrayAt][5]="C" ...
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: 3449

Re: Add a Checkbox() column

... oBrw:AddCol() oCol:bStrData = { || TRANSFORM( field->imp_eff, "@ZE 999,999,999.99" ) } oCol:cHeader = "TOTALE CLIENTE" oCol:nEditType = EDIT_NONE oCol:nWidth = 100 oCol:nDataStrAlign := AL_RIGHT How can I add another column that read / edit the value of field->seleziona ...
by MarcoBoschi
Mon Dec 11, 2023 12:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Add a Checkbox() column
Replies: 8
Views: 1157

Editar celdas en xbrowse

... k | oRSSTK:Fields( "costo" ):Value := x } //PostEdit( o, x, k ) } // EditaCelda( oaufactu, 1, x, k, lFirstEdit ) } // PostEdit(o,x,k) } :nEditType := EDIT_GET END pero no actualiza, seguro me falta algo.
by jpcavagnaro
Thu Aug 31, 2023 1:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Editar celdas en xbrowse
Replies: 7
Views: 934
Next

Return to advanced search