Path: news.mathworks.com!not-for-mail
From: "Darik " <dgambleDEL@uwaterlooDEL.caDEL>
Newsgroups: comp.soft-sys.matlab
Subject: Aborting a set in a PropertyPreSet listener callback
Date: Thu, 18 Oct 2007 17:58:54 +0000 (UTC)
Organization: Waterloo
Lines: 13
Message-ID: <ff86su$p1i$1@fred.mathworks.com>
Reply-To: "Darik " <dgambleDEL@uwaterlooDEL.caDEL>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1192730334 25650 172.30.248.35 (18 Oct 2007 17:58:54 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 18 Oct 2007 17:58:54 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 895526
Xref: news.mathworks.com comp.soft-sys.matlab:433629



Is there a way to abort a requested SET call in a 
PropertyPreSet listener callback? 

schema.prop objects have an access flag called 'AbortSet' 
that would suggest this is possible, but I haven't found 
anything digging through Mathworks' code. 

I know I COULD create a corresponding PropertyPostSet 
listener to 'undo' whatever was done, but this gets pretty 
unwieldy with linked properties (i.e. setting the XLim 
property of an axes changes the XLimMode, XTick, etc.)