... } :bEditValid := { | oGet | ValMat(oGet:VarGet()) }END 2.- Después de agregar un registro en blanco (:bPastEof) si el usuario ya no lo quiere cómo puedo eliminarlo, varios editores utilizan la tecla flecha arriba para eliminarlo si es que no hay campos ...
... puedo encontrar documentacion completa de las referencias de TXBrowse para saber cada evento para que sirve y que funcion hace, por ejemplo: :bPastEof := { || AddRow( oBrw ) } GoLeftMost() oBrw:GoDown() Etc etc. Gracias. Saludos :bPastEof := { || AddRow( oBrw ) } CodeBlock a ejecutar cuando ...
... puedo encontrar documentacion completa de las referencias de TXBrowse para saber cada evento para que sirve y que funcion hace, por ejemplo: :bPastEof := { || AddRow( oBrw ) } GoLeftMost() oBrw:GoDown() Etc etc. Gracias. Saludos
Mayo and Junio 2020 =================== * XBrowse: - Nuevos DATAs bPastBof y bPastEof Mira el nuevo ejemplo Balance.prg para comprobar el uso avanzado de bPastBof y bPastEof, * XBrowse: - En algún raro caso, oEditGet en la función EditGetKeyDown toma el valor ...
May and June 2020 ================= * XBrowse: New DATA bPastBof See new example BALANCE.PRG to check advanced use of bPastBof and bPastEof * XBrowse: - In some rare cases, oEditGet in the function EditGetKeyDown is becoming nil and resulting in runtime error. fixed http://forums.fivetechsupport.com/viewtopic.php?f=3&t=38925 ...
... CSV 4. cTrue (Optional): Text to be written when the value is logical .t. 5. cFalse(Optional): Text to be written when the value is logical .f. - bPastEof is now evaluated with 2 paramters Self, nKey. Value of nkey is: VK_DOWN : When triggered by pressing down key by the user. 0 : If ::GoDown() ...
... METHOD KeyDown ... I noticed your new code ... just curious how you would modify your code to trap vk_down with FWH1801 or greater ? From FWH1801, bPastEof will be evaluated with 2 parameters viz., Self, nKey. nKey can be nil, VK_DOWN, 0 or -1 depending on the triggering event. Code: VK_DOWN : ...
From FWH1801, bPastEof will be evaluated with 2 parameters viz., Self, nKey. nKey can be nil, VK_DOWN, 0 or -1 depending on the triggering event. VK_DOWN : When triggered by pressing down key by the user.0 : If ::GoDown() ...
I have been trying to create a variable that passes to AddNewRow() and I can trap the increment .. however the oLbxB:bPastEof code block keeps firing in a non modal mode ...
Rao I have an invoicing module that uses the code block bPastEof to trigger the AddNewRow function .. // add a new record oLbxB:bPastEof = {|| _AddNewRow( oRsDetail,nRepairNumber,nAssignedTo,cLoc,oLbxB,"Y",oRsRepair,"" ...
... generate the primary keys unless the user confirms all the information ... I understand where Reinaldo is coming from .. when you test for oBrw:bPastEof .. you have to create a new record .. and if the user doesn't confirm the data .. you have a blank record in the table you have to Delete. ...
Rick: May I see your source code for the follow functions? // add a new record oLbxB:bPastEof = {|| _AddNewRow( oRsInvDetail,nRepairNumber,nAssignedTo,cLoc,oLbxB,"N","" ) } and oWndChild:bResized := {|| _ReSizeUm( oDlg,oWndChild,oLbx) }, Thanks ...