Article View: free.it.visual-basic
Article #3787Re: What do you need to put into the code in order to use the Undo function, like that found in a word processor?
From: deanfamily
Date: Thu, 28 Mar 2002 23:05
Date: Thu, 28 Mar 2002 23:05
30 lines
2051 bytes
2051 bytes
I think you may misunderstand. I am using Visual Basic to write the program, but I need to know what to put into the code so that I can make the Undo function work. I'vedone it before and it was something simple, I just can't remember what it was. "Roscio" <sergint@libero.it> wrote in message news:PmBo8.85256$1S3.2685766@twister1.libero.it... > "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:
<a807kc$60l$1@bob.news.rcn.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!sjc-peer.news.verio.net!news.verio.net!newsfeed.cwix.com!feed2.news.rcn.net!feed1.news.rcn.net!rcn!not-for-mailReferences:
<a7tvce$h76$1@bob.news.rcn.net> <PmBo8.85256$1S3.2685766@twister1.libero.it>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 15:06:01 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!sjc-peer.news.verio.net!news.verio.net!newsfeed.cwix.com!feed2.news.rcn.net!feed1.news.rcn.net!rcn!not-for-mail From: "deanfamily" <deanfamily@erols.com> Newsgroups: free.it.visual-basic 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? Date: Thu, 28 Mar 2002 18:05:43 -0500 Lines: 32 Message-ID: <a807kc$60l$1@bob.news.rcn.net> References: <a7tvce$h76$1@bob.news.rcn.net> <PmBo8.85256$1S3.2685766@twister1.libero.it> X-Trace: UmFuZG9tSVZc4zufCVeGzsQEwk7s7OjKFS/LoH2+w+KaCmFeLO/UFTM+6IrEyWS+ X-Complaints-To: abuse@rcn.com NNTP-Posting-Date: 28 Mar 2002 23:05:48 GMT X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Priority: 3 X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MSMail-Priority: Normal