🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.lang.visualbasic
Article #15

Re: Undo command

#15
From: Dwayne Conyers
Date: Sat, 01 Jul 2000 00:00
31 lines
2236 bytes
Are you tracking user input and capturing events like application of styles
and etc?

--
---
Dwayne's World
http://www.dwacon.com



Cameron <camford99@primus.com.au> wrote in message
news:395c8d01@news.iprimus.com.au...
> Hello.  I am designing a text editor similar to notepad for a school
> assignment in vb.  I've designed some undo code which has been simply
hashed
> together from a rather work around method and i know there must be a MUCH
> simpler way.  As it stands I have a ritch text box and I would like the
undo
> feature to be able to undo characters last typed, undo styles applied to
> text, and undo copy and paste actions, currently i have only been able to
> undo the last character or word.  Also i would like to be able to undo the
> last 5, maybe even 10 actions, and then also redo.  I suspect there'd be a
> simple call to windows for the feature but I'm unable to find any
> information on the subject.  I'm a very novice programmer and the way my
> code works, this would take AGES.  ANY easier or quicker solutions, or
> examples would be GREATLY appreicated, along with any sites which may have
> further info on the specific topic.  Thankyou VERY MUCH for any help you
may
> be able to offer me!!!!
>
>
Technical Details
Message-ID: <%On75.25622$A%3.295653@news1.rdc2.pa.home.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <395c8d01@news.iprimus.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 104093,c948755e01cb7dac
X-Google-Attributes: gid104093,public
X-Google-Thread: 105c2e,c948755e01cb7dac
X-Google-Attributes: gid105c2e,public
X-Google-Thread: 11427d,c948755e01cb7dac
X-Google-Attributes: gid11427d,public
From: "Dwayne Conyers" <dwacon@theglobe.com>
Subject: Re: Undo command
Date: 2000/07/01
Message-ID: <%On75.25622$A%3.295653@news1.rdc2.pa.home.com>
X-Deja-AN: 641217519
References: <395c8d01@news.iprimus.com.au>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
X-Complaints-To: abuse@home.net
X-Trace: news1.rdc2.pa.home.com 962464059 24.40.57.190 (Sat, 01 Jul 2000 08:07:39 PDT)
Organization: http://www.dwacon.com
X-MSMail-Priority: Normal
Reply-To: "Dwayne Conyers" <dwacon@theglobe.com>
NNTP-Posting-Date: Sat, 01 Jul 2000 08:07:39 PDT
Newsgroups: fj.lang.visualbasic,microsoft.public.usasalesinfo.developer.visualbasic,microsoft.public.vb.winapi