OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Fred Tomke on October 22, 2009, 09:39:57 AM

Title: Textbox_IsModified
Post by: Fred Tomke on October 22, 2009, 09:39:57 AM
Hello, is there somebody who can explain me how to work with Textbox_IsModified? We had a discussion (http://www.opendcl.com/forum/index.php?topic=981.0) about it and I couldn't help yet.

I have uploaded an exmaple here (http://www.opendcl.com/forum/index.php?topic=981.msg5012#msg5012). But IsModified returns also T after Undo (Ctrl-U (ENU) / Strg-Z (DEU)) or changing the content to the initial value by hand. Owen told me

QuoteNote that IsModified returns T only while interactive editing is in progress (and Undo is available).
But I did not understand what is meant by
Quoteand Undo is available
because IsModified returns also T after Undo.

Can anybody change the example this way to show how to use Textbox_IsModified?

Fred
Title: Re: Textbox_IsModified
Post by: owenwengerd on October 22, 2009, 04:20:21 PM
It seems that the modify flag is not necessarily related to the ability to undo. Here is the MSDN description of the underlying control message:
http://msdn.microsoft.com/en-us/library/bb761592(VS.85).aspx (http://msdn.microsoft.com/en-us/library/bb761592(VS.85).aspx)