OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 24-07-2004, 14:50
barnold
Guest
 
Posts: n/a
Default Dirty related event in CD 12?

I would like to use AppWindow.Caption to indicate if the current doc has been modified. Is there any way to cause a document's going dirty to fire an event I could use to update the caption? Any other ideas on how to do this?

Thanks!
Bob Arnold
Reply With Quote
  #2  
Old 25-07-2004, 23:28
Alex's Avatar
Alex Alex is offline
Administrator
 
Join Date: Nov 2002
Posts: 1,940
Blog Entries: 4
Default Re: Dirty related event in CD 12?

Bob,

There is no direct way to do it, however what I would suggest is to use SelectionChanged event and check the status of Document.Dirty property. SelectionChanged is dispatched not only when the actual selection changes, but when some properties of selected objects change. I don't think you can make the document dirty somehow without triggering SelectionChanged event. However I may be wrong.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I handle a event of GlobalDocument In a COM AddIn? zhang.t CorelDRAW/Corel DESIGNER VBA 2 17-06-2004 22:03
How can I catch the OnClose event? Elie CorelDRAW CS 2 01-04-2004 00:20
takes Draw a long time to start a new document! bbolte CorelDRAW/Corel DESIGNER VBA 5 14-05-2003 09:09
Draw Event GlobalDocument_Start schubmar CorelDRAW/Corel DESIGNER VBA 5 21-02-2003 08:21


All times are GMT -5. The time now is 15:08.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com