... 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 ...
... 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.
Amigos del foro: Tengo un xBrowse con FASTEDIT, algunas celdas debo permitir editarlas y otras no, para las editables uso nEditType := EDIT_GET, para las que no debo permitir editarlas utilizo nEditType := EDIT_NONE pero aún así si oprimo la tecla RETURN entra en modo de edición. ¿Cómo ...
... := { | o, x, k | RApertur->nombre := x } //PostEdit( o, x, k ) } // EditaCelda( oaufactu, 1, x, k, lFirstEdit ) } // PostEdit(o,x,k) } :nEditType := EDIT_GET END WITH OBJECT oRApertur:Apellido :bOnPostEdit := { | o, x, k | ( RApertur->Apellido := x ) } // PostEditc( o, x, k ) } // ...
Explanation: If you want to set any data of each column (for example "nEditType" ), instead of setting oCol:nEditType of each every column, you can set oBrw:nEditTypes := n ( nEditType _+ "s" ) i.e., use "plural" Out of interest ...
Explanation: If you want to set any data of each column (for example "nEditType" ), instead of setting oCol:nEditType of each every column, you can set oBrw:nEditTypes := n ( nEditType _+ "s" ) i.e., use "plural" If we want to set ...
... := { | oGet | Valida(oGet:VarGet())}END Explanation: If you want to set any data of each column (for example "nEditType" ), instead of setting oCol:nEditType of each every column, you can set oBrw:nEditTypes := n ( nEditType _+ "s" ) i.e., use ...
nageswaragunupudi wrote:No need to create array Directly Xbrowse recordset. If you set oCol:nEditType := 1 user can edit any cell he wants. XBrowse automatically saves the changes. What more you want to know?
No need to create array Directly Xbrowse recordset. If you set oCol:nEditType := 1 user can edit any cell he wants. XBrowse automatically saves the changes. What more you want to know?
Gracias por Contestar Artu01. Ya lo he probado, pero sin éxito. El Maestro Rao dice en otro post; If oCol:nEditType is > 0 and oCol:lReadOnly is .F. ( default ) and oCol:bEditWhen is NIL (default ) or Evaluates to .T. inline edit of the cell is automatically available (whether ...
hi, if oCol:nEditType is > 0 and oCol:lReadOnly is .F. ( default ) and oCol:bEditWhen is NIL (default ) or Evaluates to .T. Inline Edit of the cell is automatically available (whether oBrw:lFastEdit is .T. or .F. ) you talk about ...
... is the inbuilt way of editing XBrowse cells. This is available at all times. The programmer does not have to do anything more than setting oCol:nEditType > 0 (usually EDIT_GET. if oCol:nEditType is > 0 and oCol:lReadOnly is .F. ( default ) and oCol:bEditWhen is NIL (default ) or Evaluates ...