🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: fj.lang.visualbasic
2 messages
2 total messages Started by Cameron Fri, 30 Jun 2000 00:00
Undo command
#14
Author: Cameron
Date: Fri, 30 Jun 2000 00:00
14 lines
1881 bytes
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!!!!
Re: Undo command
#15
Author: 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!!!!
>
>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads