Skip to content

sebthom.de

Menu
  • Home
  • Über mich
  • Impressum
    • Datenschutzerklärung
  • Gästebuch
Menu

Visual Basic – Multiple Undos Class v2.04

Posted on Sonntag, der 9. März 2003Sonntag, der 25. Dezember 2022 by sebthom

Ich habe schon jede Menge verschiedener Multi Undo Lösungen probiert, aber bisher hatte jede mindestens einen Haken. Also, war es Zeit eine eigene nach meinen Vorstellungen zu entwickeln.

Wer meine Lösung verwenden will, muss nicht seinen Programmcode durch das Einfügen massenweiser undo-bezogener Funktionen, Prozeduren und Variablen verunstalten. Alles wird hier ganz komfortabel mit zwei kleinen Klassen geliefert.


Es müssen nur diese beiden Klassen in das VB Projekt eingebunden, eine Objekt-Instanz der clsUndo Klasse erzeugt und die RichTextBox oder TextBox ausgewählt werden, welche mit der Multi Undo Fähigkeit versehen werden soll. Ein Beispiel:

	Dim WithEvents Undo as clsUndo
	Set Undo = New clsUndo
	Undo.AssignToRichTextBox Controls, RichTextBox1

Mehr muss gar nicht getan werden.

MultiUndo-ScreenShot

Source Code @ github.com

5 thoughts on “Visual Basic – Multiple Undos Class v2.04”

  1. Annibale sagt:
    Freitag, der 17. Februar 2023 um 17:17 Uhr

    Ho adattato la versione “v1-03-updated-05-01-2002__1-34094” a Vb.Net 4 e funziona egregiamente. Ottimo lavoro. Grazie

    I adapted the version “v1-03-updated-05-01-2002__1-34094” to Vb.Net 4 and it works great. Good job. Thank you

  2. Annibale sagt:
    Donnerstag, der 16. Februar 2023 um 16:39 Uhr

    Su github.com non è presente la versione 2.04. Grazie per il tuo lavoro.
    Version 2.04 is not present on github.com. Thank’s for your job.

  3. hahjs sagt:
    Donnerstag, der 5. Juli 2012 um 11:02 Uhr

    GOOD!

  4. Sebastian Thomschke sagt:
    Dienstag, der 4. November 2008 um 23:10 Uhr

    Jack, simply copy the clsUndo.cls and clsUndoElement.cls class files into your VB project. Then create a new Undo instance as described above and assign it to a text box. Next create undo/redo buttons or menu items that call the undo / redo functions of the Undo class.

    Hope that helps,
    Seb

  5. jack212 sagt:
    Dienstag, der 4. November 2008 um 12:58 Uhr

    what?

    have been looking for undo codes for a long time,
    could you explain more thoroughly how to use this please

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Kategorien

  • Blog (1)
  • IT (21)
    • Entwicklung (16)
      • Java (7)
      • Jython (4)
      • Visual Basic (5)
    • Linux (3)
    • WebSphere Application Server (1)
    • WebSphere Portal (2)
    • Windows (1)
  • My Freeware (2)
  • My Music (3)

Neueste Beiträge

  • Logging WebSphere API calls in wsadmin scripts
  • [Solved] Windows 7 “Safely Remove Hardware” pop-up menu horrendously slow
  • Bash: Capturing stderr in a variable while still printing to the console.
  • Configuring EMF Teneo with Hibernate, Commons DBCP, Spring Hibernate Transaction Manager, and the OpenSessionInViewFilter
  • Using EMF ECore model objects with Wicket components
  • Installing Tomcat 6 on Debian Squeeze
  • Leveraging PyDev’s auto-completion for indirectly created objects
  • OVal 1.40 released
  • Installing WebSphere Portal in a local network
  • Comparing version numbers in Jython / Python

Blogroll

  • E L S U A
  • elektrofever.de
  • OVal
  • Sweettt.com
  • Twins’ Running Blog

Neueste Kommentare

  • Annibale bei Visual Basic – Multiple Undos Class v2.04
  • Annibale bei Visual Basic – Multiple Undos Class v2.04
  • koliko2k3 bei Gästebuch
  • hdkid bei MyPad v1.1.6 – ein PHP Editor
  • Luis Diego Villarreal bei Excel – VBA Timer Example v1.0.1

Archive

  • Juni 2014
  • Mai 2012
  • Januar 2011
  • Oktober 2010
  • September 2010
  • März 2010
  • Februar 2010
  • September 2009
  • Juli 2009
  • März 2009
  • Februar 2009
  • November 2008
  • September 2008
  • Mai 2008
  • September 2007
  • Juli 2007
  • Juli 2004
  • März 2003
  • August 2002
  • April 2002
  • Januar 2002
  • Deutsch (de)Deutsch
  • English (en)English
© 2025 sebthom.de | Powered by Minimalist Blog WordPress Theme