![]() |
#1
|
|||
|
|||
![]()
Hello. I'm new to the forum, and relatively new to VBA.
I've read about optimizing and disabling events etc., to speed up execution. But is there no way to stop and start screen updating, analogous to the Application.ScreenUpdating method? Thanks for any help you can offer... Bear |
#4
|
|||
|
|||
![]()
Thanks! But that raises another question. I'm using CorelDraw 10. Refresh doesn't seem to be a method of Application. Am I missing something?
Bear |
#5
|
||||
|
||||
![]()
Yes, you are right. Application.Refresh is a new method (I believe it's added in Draw 11, or was it 12?). Anyway, ActiveWindow.Refresh will still update the document window. It's some dockers (like Object Manager) will not be updated properly. But you can always close/reopen the docker manually to get it updated correctly.
But overall, I would strongly suggest you upgrading to at least v11 (or better yet, v12). They are miles away from v10 as far as VBA support is concerned... I guess you can have v11 pretty cheap these days.. |
#6
|
|||
|
|||
![]()
I'm having problems with the Object Manager docker (X3) not updating and not responding after running a macro. I tried manually open/closing the docker, but after a few mouse clicks, it stops updating.
I use Application.Refresh and ActiveDocument.Windows.Refresh before exiting the macro and that doesn't help. Is there something else that needs to be done or is this a known problem? I don't have the same problem with other macros, but I can't identify what might be different. EDIT: Resolved the problem. I had forgotten an "ActiveDocument.EndCommandGroup". The clue was when the UNDO button would not work after running the macro. Last edited by CSewell; 02-12-2008 at 12:15. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | Search this Thread |
Display Modes | |
|
|