Article View: free.it.visual-basic
Article #3782Re: What do you need to put into the code in order to use the Undo function, like that found in a word processor?
From: Roscio
Date: Thu, 28 Mar 2002 08:45
Date: Thu, 28 Mar 2002 08:45
19 lines
1758 bytes
1758 bytes
"deanfamily" <deanfamily@erols.com> wrote in message news:a7tvce$h76$1@bob.news.rcn.net... > The Subject says it all. If you put the body in the subject, what do you put in the body of the message ? "Look at the subject" ?... :-)))) Anyway... A single Undo stroke is included in the standard behavior of the text control. If you hit ctrl-z, you are able to return to the previous content of the field. For a more complex handling, you must stack every change in your text, then you must restore (with a LIFO logic) each change when you hit a specified key. -- Er Roscio.
Technical Details
Message-ID:
<PmBo8.85256$1S3.2685766@twister1.libero.it>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!195.40.4.120.MISMATCH!easynet-quince!easynet.net!colt.net!newspeer.clara.net!news.clara.net!news2.euro.net!news.mailgate.org!nntp.infostrada.it!twister1.libero.it.POSTED!not-for-mailReferences:
<a7tvce$h76$1@bob.news.rcn.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f94ee,fb3609f4119c18a4 X-Google-Attributes: gidf94ee,public X-Google-ArrivalTime: 2002-03-28 01:28:19 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!195.40.4.120.MISMATCH!easynet-quince!easynet.net!colt.net!newspeer.clara.net!news.clara.net!news2.euro.net!news.mailgate.org!nntp.infostrada.it!twister1.libero.it.POSTED!not-for-mail From: "Roscio" <sergint@libero.it> Newsgroups: free.it.visual-basic References: <a7tvce$h76$1@bob.news.rcn.net> Subject: Re: What do you need to put into the code in order to use the Undo function, like that found in a word processor? Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Message-ID: <PmBo8.85256$1S3.2685766@twister1.libero.it> Date: Thu, 28 Mar 2002 09:45:56 +0100 NNTP-Posting-Host: 151.29.23.62 X-Complaints-To: abuse@libero.it X-Trace: twister1.libero.it 1017307695 151.29.23.62 (Thu, 28 Mar 2002 10:28:15 MET) NNTP-Posting-Date: Thu, 28 Mar 2002 10:28:15 MET Organization: [Infostrada]