Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
undo
- Page 1
Re: pay roll
Programming
Software Development
18 Years Ago
by sowmiya
undo
operation on delete.in payroll processing using VB, as i donot know my sql or any other SQL,how i could create,payroll processing for employees
Re: Pass value from header to hidden field in form
Programming
Web Development
12 Years Ago
by urtrivedi
undo
what you changed by my previous post ok sorry, change …
Re: Undo
Programming
Software Development
19 Years Ago
by server_crash
… document from the textfield.. import these: [Code] import javax.swing.
undo
.*; import javax.swing.event.*; import javax.swing.text.*; [/Code] add…(UndoableEditEvent uee) { undoManager.addEdit(uee.getEdit()); } [/Code] then do the
undo
and redo like this: [Code] //don't need this method…
Undo
Programming
Software Development
19 Years Ago
by freesoft_2000
Hi everyone, I am trying to add an
undo
listener to a jtable but could not get it to work. Does anyone know how to add a
undo
function to a jtable assuming the default cell editor component is a jtextfield? A small code sample would be helpful Any help is greatly appreciated Thank You Yours Sincerely Richard West
undo
Programming
Software Development
18 Years Ago
by sowmiya
how to write coding for
undo
operation in a simple text editor.I tried it but i couldn't do it.plz somebody help me. :?:
Re: undo
Programming
Software Development
18 Years Ago
by jwshepherd
ctrl-Z will
undo
most operations in a text editor. other wise you will need to create an array to hold the previous changed information until the users are satisfied and submit the text.
Re: undo/redo custom events in richTextBox??
Programming
Software Development
14 Years Ago
by sknake
… Text after
undo
: !!!!!!!!!!@@@@@@@@@@########## - Text before
undo
: !!!!!!!!!!@@@@@@@@@@########## Text after
undo
: !!!!!!!!!!@@@@@@@@@@ - Text before
undo
: !!!!!!!!!!@@@@@@@@@@ Text after
undo
: !!!!!!!!!! - Text before
undo
: !!!!!!!!!! Text after
undo
: - Text before
undo
: Text after
undo
: - [/code] All…
Undo problem in Rich tex box.
Programming
Software Development
13 Years Ago
by Nivass
…found text it will search for another findings. If i
undo
the changes first it chages the color of the replaced… to original text (found text). it take four
undo
to change or
undo
the text i have replaced. My question is. … way so i can do the all this four
undo
in one single
undo
process. Thanks in advance. [CODE] public void Find…
Re: Undo/Redo Problem
Programming
Software Development
14 Years Ago
by designpattern
…the unwanted one UndoableEdit e = this.editToBeUndone();
undo
(); //
undo
the unwanted if(e instanceof TableCellEdit) { …" + tce.toString()); } e.die(); } // do the
undo
super.
undo
(); } finally { // will call undoTo adjustMenuState(); } } [/CODE] …
Re: Undo problem in Rich tex box.
Programming
Software Development
13 Years Ago
by Nivass
… when try to do
undo
option(my aim is it should
undo
the replaced text) but for first
undo
it replace the background… color and next
undo
it replace the… text. How to achieve this is single
undo
. Iam collecting all back gound starting position in a list…
Re: undo/redo custom events in richTextBox??
Programming
Software Development
14 Years Ago
by sknake
… call [icode].ClearUndo()[/icode] to clear the
undo
buffer backlog which would break multiple undos. Taking…[/icode] I can see other operations that change the
undo
history: [code] public void ClearUndo() { if (base…] So [icode]0xcd[/icode] must be clearing the
undo
buffer. Text selection seems like it can also clear the…
undo - redo function in a text editor
Programming
Software Development
19 Years Ago
by server_crash
…I'm having some trouble with the
undo
/redo functions... It doesn't work…all of my code dealing with the
undo
function. I know it's a… if ((ae.getSource() == btnUndo) || ae.getActionCommand().equals("
Undo
")) { try { undoManager.
undo
(); } catch (CannotUndoException cue) { Toolkit.getDefaultToolkit().beep(); } }…
Re: undo/redo custom events in richTextBox??
Programming
Software Development
14 Years Ago
by MxDev
…actionCountInUndoGroup = 0; } this.undoGroupDepth++; } public void
Undo
() { this.AssertNoUndoGroupOpen(); if (this.undostack.Count &…this.undostack.Pop(); this.redostack.Push(uedit); uedit.
Undo
(); this.OnActionUndone(); } } // Properties public bool…
Re: Undo problem in Rich tex box.
Programming
Software Development
13 Years Ago
by nick.crane
If this is a Windows Forms app then this is the only way. If this is a WPF app then the RichTextBox (TextBoxBase) has BeginChange and EndChange methods to encapsulate multiple changes in to a single
undo
unit.
Re: Undo problem in Rich tex box.
Programming
Software Development
13 Years Ago
by Diamonddrake
… key choices. You can implement your own stack and custom
undo
, which isn't that hard at all, just google it…
Re: undo/redo custom events in richTextBox??
Programming
Software Development
14 Years Ago
by sknake
… undid. Now with the richtextbox you can call [icode].
Undo
()[/icode] and it undoes the last operation. You can… all [icode].
Undo
()[/icode] again and it goes back another operation (not …redoing the previous
undo
like notepad) which is exactly like word. This already…
Re: undo - redo function in a text editor
Programming
Software Development
19 Years Ago
by freesoft_2000
Hi everyone, You are resetting your UndoManager class every time so there is always nothing to
undo
. Basically remove the createUndoManager() function and create that class once as a global class with a global instance only once. Don't forget the import stsement for the
undo
class as well Richard West
Re: undo/redo help!!!
Programming
Web Development
18 Years Ago
by Iron_Cross
…menu items you just need to call the
undo
/redo methods of the RichTextBox or TextBox … } [/code] Then for the click even of the
Undo
button: [code] public void miEditUndo_Click(object sender, System.EventArgs… e) { rtbText.
Undo
(); } [/code] Then for the click event of the …
Re: undo/redo custom events in richTextBox??
Programming
Software Development
14 Years Ago
by MxDev
…quot;#008000"]MSWord[/COLOR] the former support one action
undo
/redo which means if you edit, delete, insert a new… text, and clicked
undo
it will retrieve the old text before editing, while the… later (MSWord) has the ability to
undo
/redo multi actions till you reach what you want. I…
Undo in Access '07
Programming
Databases
15 Years Ago
by bstylez
Hello, I accidentally deleted a column in my Access database, and do not know how to "
undo
". The
undo
button isn't an option, so do I need to do some system re-store or something?
Undo/Redo Problem
Programming
Software Development
14 Years Ago
by dasatti
… UndoableEdit to the UndoManager. Anybody worked with the swing's
undo
package will get the idea. This way I am successfully… performing
undo
and redo functionality. But the problem is in many cases…
undo/redo custom events in richTextBox??
Programming
Software Development
14 Years Ago
by MxDev
Hi guys, how to make the default
undo
/redo in richTextBox support
undo
/redo multiple actions????????? Thanks [EL-Prince]
Re: undo/redo custom events in richTextBox??
Programming
Software Development
14 Years Ago
by MxDev
Hi guys, I think I didn't make my point very clear, what I want to do is
undo
/redo single action at a time, not multiple actions at a time like the inbuilt
undo
/redo functions. Thanks [EL-Prince]
Re: undo/redo custom events in richTextBox??
Programming
Software Development
14 Years Ago
by MxDev
… fine, but I couldn't know how you made the
undo
function works like this I tried to use it against… my entered text to the textbox and
undo
the changes, but no good happened, if you could help…
Re: Undo in Access '07
Programming
Databases
15 Years Ago
by HI2Japan
… in that when working with tables, you only get 1
undo
(with the exception of deleting because once its gone, it…
Re: undo/redo custom events in richTextBox??
Programming
Software Development
14 Years Ago
by sknake
This is the default behavior. Just call [icode].
Undo
()[/icode] multiple times.
Re: undo/redo custom events in richTextBox??
Programming
Software Development
14 Years Ago
by avirag
yes richtextbox has inbuilt functions of
undo
and redo.
Re: undo/redo custom events in richTextBox??
Programming
Software Development
14 Years Ago
by MxDev
…/redos you should store the object states in a stake.
Undo
action used to go to a previous states, and redo…
Re: undo/redo using memento c++
Programming
Software Development
13 Years Ago
by Ancient Dragon
To accomplish the
undo
option all you need to do is make a copy of the chessboard before any move is made. After the move then use that copy for the
undo
option.
undo/redo help!!!
Programming
Web Development
18 Years Ago
by mntlnstituteflr
hey guys... i need help on making an
undo
/redo command in my menu... can ya help! o yeah! plz put this stuff n the simplist terms that you can think of like (insert this code here and this there) i just got vb standard 2003 3 days ago, and have no programming experience (except for HTML), therefore i am a NOOB!!! :p thx! Pat
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC