In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

TBrowseMod - Message not found: TEditForGrid:NDATACOL

Xailer professional forum in English
Responder
Avatar de Usuario
Hurricane
Mensajes: 262
Registrado: Mar Mar 24, 2015 10:21 am
Ubicación: Brasil
Contactar:

TBrowseMod - Message not found: TEditForGrid:NDATACOL

Mensaje por Hurricane »

Hi,

The onSaveCol event is sending an TEditForGrid object, instead of TBrwColMod (as described in the documentation).

Código: Seleccionar todo

METHOD BrwSaveCol( oSender, oCol, xValue ) CLASS tfrmLbEdit
   /*REDECLARE oCol as TBrwColMod

   if oCol:nDataCol = 4
     ...
   endif */
   //  Only one column is editable, it won't break my code.
   mySave(xValue)
RETURN Nil

Código: Seleccionar todo

Error BASE/1004  Message not found: TEditForGrid:NDATACOL

 Subsystem Call: BASE
     System Code: 1004
  Default Status: .F.
     Description: Message not found
       Operation: TEditForGrid:NDATACOL
       Arguments:  [ 1] = Type: O Val: 
   Involved File: 
  Dos Error Code: 0

Trace Through:
  __ERRRT_SBASE (0)
  TEDITFORGRID:ERROR (0)
  (b)HBOBJECT (0)
  TEDITFORGRID:MSGNOTFOUND (0)
  TEDITFORGRID:NDATACOL (0)
  TFRMLBEDIT:BRWSAVECOL (111)
  TBROWSEMOD:ONSAVECOL (0)
  TBROWSEMOD:SAVE (1783)
  TBROWSEMOD:CANCELEDIT (1748)
  TEDITFORGRID:WMKEYDOWN (717)
  TFRMLBEDIT:SHOWMODAL (0)
  FRMLBEDIT (64)
  (b)PE_CONTEXTMENU (53)
  TMENUITEM:ONCLICK (0)
  TMENU:DOACTION (253)
  TMENU:DOACTION (258)
  TLABEL:SHOWPOPUPMENU (975)
  TINSPECTOR:CONTROLCONTEXTMENU (968)
  TLABEL:WMCONTEXTMENU (827)
  RUNFORM (0)
  TAPPLICATION:RUN (289)
  MAIN (49)
Xailer 7.2
Developments | Trainings | Projects
Site | E-mail | Messenger | YouTube
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9253
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Re: TBrowseMod - Message not found: TEditForGrid:NDATACOL

Mensaje por ignacio »

Hi,

Fixed! Thanks

Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Responder