🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.opentoolsapi
Article #85

Undo for property edits

#85
From: Mike Sutton
Date: Wed, 06 Aug 2008 16:23
7 lines
1498 bytes
If I'm editing a form with:

Component.SetPropByName('Caption', S);

where Component is IOTAComponent, is there anyway to hook into Delphis
undo system so the user can undo the change with the Undo/CTRL-Z
command?
Technical Details
Message-ID: <rqjj94t42soudpfcob9i7oc7usha9lqp6f@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10c3df,209a82c5209a1889,start
X-Google-Attributes: gid10c3df,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 06 Aug 2008 11:26:59 -0500
From: Mike Sutton <mike@solentsoftware.com>
Newsgroups: borland.public.delphi.opentoolsapi
Subject: Undo for property edits
Date: Wed, 06 Aug 2008 17:23:58 +0100
Reply-To: mike@solentsoftware.com
Message-ID: <rqjj94t42soudpfcob9i7oc7usha9lqp6f@4ax.com>
X-Newsreader: Forte Agent 1.92/32.570
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 8
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-uFGIaHJIdmR0FTRy3VDtxU/TtHyrB0iHjs8lsMcRlOl/+NVlLaltsnbbLjspNG5leYH0PE9GTGHBRsK!LRzJL9rTJFcdQE1ZH3JyzBrQN7nbRSph8dqDir0tLgVeSNGaUnORYE0eohcRmDsAxwI4jnRQ5g==
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.39