Screenshot




License: Free
Downloads: 634
Added: 09 Apr 2005
Updated: 23 Jan 2009
Developer: Forbes(more)
Download
126 KB |






















Undo Toolkit Publisher Description

Undo Toolkit allows you to add unlimited undo and redo to your REALbasic project with just one line of code per control. Just change each control's "super" to its Undo Toolkit counterpart, add one line to set the EditUndo menu text, and you've implemented a fully featured undo system in a fraction of the time.




The Undo Toolkit includes window classes that automatically prompt the user to save changes (using a Mac OS X sheet window), manage the Mac OS X Aqua change flag, enable and handle the FileSave, EditUndo and EditRedo menu items, and support unlimited levels of undo with unlimited numbers of controls. Undo Toolkit supports application-wide or window-specific undo, you can choose the undo solution that's right for your project, and provides customizable language constants for multi-lingual apps.

(As featured in Issues 1.2 and 1.4 of REALbasic Developer magazine. RBD subscribers can download the tutorial files from the subscribers-only web site.)


OS: PPC
Requirements: REALBasic 5 or later.
Whats new:
Version 1.3:[New] StyledEditField: New class with one new property: SelStyledText, which returns the current selection as a StyledText object. Assigning a StyledText object to this property will change the text and styles of the current selection. (Feedback ID: sabrzvbe) [New] UndoableEditField: Now a subclass of StyledEditField, and provides full support for undo and redo of styled text. [Dep] StyleAction: StyleActions have been deprecated, and may be removed in a future release. UndoableEditFields no longer generate StyleActions. [Chg] UndoProvider interface: The interface has changed, with one new function (ClassName, which returns the name of the class as a String) and a new, optional parameter to the FireModifiedEvent method (menuText as String, which defaults to the empty string). Any UndoProvider controls you've written will need to be updated to match the revised interface. [New] UndoProvider controls: Now provide a ClassName function, which returns the name of the class (e.g., "UndoableCheckBox") as a String. [New] UndoGlobals: The Toolkit now supplies and uses language constants for commonly undone tasks ("Typing", "Selection", etc.). This allows complex controls to display a more action-specific message in the EditUndo menu (e.g., "Undo Typing"), and replaces the UndoableEditField's use of integer constants to achieve the same result. [New] UndoStack: The Record method's menuText parameter is now optional. You no longer need to type uMgr.record action, "Slider" for each individual Slider in your project, for example. [New] UndoableAction: Now provides a ClassName function, which returns the name of the class (e.g., "ChangeAction") as a String. [Fix] UndoableEditField: Fixed a bug where clicking on the selection would fire a MoveAction event, even if the user didn't actually drag the text. [Fix] UndoableListBox: Now uses the Tab character as a delimiter when storing a ListBox row as a String (really this time). [Fix] UndoableListBox: Fixed a bug where undoing moving a row would un-check any inline checkboxes in the row. [Fix] UndoableEditField: Fixed a bug (introduced in 1.2.3) where the Modified event was firing after each keystroke. [New] Debugging Tools: New UndoWindow_Debug, UndoStack_Debug and UndoStackDisplay classes make it easier to view, understand and debug the internal workings of the Toolkit. They are also useful when writing new UndoProvider classes. [New] UndoableRadioButton: The requirement that UndoableRadioButtons must always be contained in an UndoableGroupBox has been relaxed slightly. If there's only one set of buttons, and you're using an UndoWindow, the UndoableGroupBox is no longer required. [New] Requirements: No longer requires the Carbon Declare Library. [Nte] Requirements: Now requires REALbasic 5.0 or higher.
Software news
@anywhere: Twitter's New Service
Popular social networking and micro-blogging site Twitter announced a new service at the South by Southwest Interactive Festival (SXSW). The new service is called @anywhere and is meant to...
16 Mar 2010
User Feedback Keeps Making Yahoo! Mail Better
The development team behind Yahoo!’s email client, the aptly named Yahoo! Mail, is continually trying to make the service a better one – and thus make the user experience a better one. In order to...
16 Mar 2010
Social Networking News: Ning CEO Steps Down After Half a Decade
The first social networking news for this week comes from Ning, an online platform that lets people create their own social networks. Launched back in October 2005, Ning was founded by...
16 Mar 2010
Microsoft vs. Apple: About 10% of Microsoft Employees Use an iPhone, Hide it from Execs
About a year ago we were reporting that in the Gates household (as in Bill Gates, founder of Microsoft) the iPhone is a definite no-no. At the time Melinda Gates,...
16 Mar 2010
Recommended Tools
Options
Top Downloads
Link to us:
HTML code for linking to Undo Toolkit