... foro, una pregunta: Hay manera de tomar el nombre del ACTION que se ejecuta cuando damos click en la opción del menú ? Existe algún método, algún bchange donde se pueda tomar la opción antes de ejecutarse ? Ejemplo: menu oMnuDBIO Popup 2007 menuitem '&Países' action CATPai() message 'Países' ...
... function work when entering data from the clipboard via the context menu ? For this, we need to modify/override the method HandleEvent. Can use :bChange and check which way to make these changes ? No use at all. By this time, Windows OS has already read the Clipboard contents and completed the ...
... method can be modified :KeyDown via Override ? 2. Will this function work when entering data from the clipboard via the context menu ? Can use :bChange and check which way to make these changes ?
... || lSave:= IIF(Msgyesno("I must save ?"),.t.,.f.), oDLG:AEvalWhen(), .t. }AEval( aGet, { |o| o:bChange := bCheck } )ACTIVATE DIALOG oDLG CENTER ON INIT EVAL(bCheck)IF lSave//---- saveEndifreturn nil I made also AEval(aGet,{|oGet| ...
... (aunque el usuario borro el dato y volvio a escribir "hola") ese GETS en lModify sea .f. hoy por hoy lo que hago es poner en oGets:bChange:= ::lModify:= .t. PERO no contempla lo de arriba. gracias.
... - Si el conjunto de registros está cerrado al configurarlo, xbrowse lo abrirá para la búsqueda. - Nuevo DATA bmPrevious (marcador anterior) bChange ahora puede acceder al marcador anterior con oBrw:bmPrevious - Correcciones en SetRDD() en caso de usos muy raros. - Corrección: SetTree(). ...
... fixed. - If recordset is closed when setting up is setup, it is opened by xbrowse for browing. - New DATA bmPrevious (previous bookmark) bChange can now access the previous Bookmark with oBrw:bmPrevious - Fixes in SetRDD() in case of very rare usages. - Fix:SetTree(). Auto-generation ...
With edit control, try pasting by pressing Ctrl-V. In my test here, bChange is executed, immediately after pressing the key and before actually pasting. Note: In case of EDIT control, bChange is executed when the user presses any key Eval( ::bChange, nKey, ...
For me oGet:bChange is working in TGet class when any text is pasted into the Get. (But for me the problem is bChange is evaluated twice in case of Get)
Antonio, no sé con qué condición tienes hecho el tema del refresh del browse ( definiendo el bChange, etc. ) Si es asi, recuerda que la clase tiene una DATA lColChangeNotify ( por defecto en .F. ), que llama al bChange definido ( que habitualmente solo es ejecutado cuando ...
Antonio, no sé con qué condición tienes hecho el tema del refresh del browse ( definiendo el bChange, etc. ) Si es asi, recuerda que la clase tiene una DATA lColChangeNotify ( por defecto en .F. ), que llama al bChange definido ( que habitualmente solo es ejecutado cuando ...