Page 1 of 1

Undo typing and restore previous value

Posted: Wed Jul 11, 2012 2:19 am
by pierredaou
Hi,

Is there an easy and straightforward way to restore previous field value ( similar to CtrlZ ) in Xbase ? not the whole record the current field.


Regards

Re: Undo typing and restore previous value

Posted: Wed Jul 11, 2012 2:38 am
by Tom
XbpSLE - which is the base of DCGET - has an "UNDO" method. Just call oMyGet:Undo(), maybe connected to an invisible button having an accelerator key (CRTL_U) or in a context menu added to the get.

Re: Undo typing and restore previous value

Posted: Wed Jul 11, 2012 2:59 am
by pierredaou
thanks Tom, it worked.