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 05-03-2005, 08:12
zlatev
Guest
 
Posts: n/a
Default CDR12: refresh Object Manager docker after CreateSelection

I have tried the following two lines (separately) to return to the user selection of a single object with a given StaticID (variable nStaticID)
Code:
ActiveDocument.CreateSelection nStaticID
ActiveLayer.FindShape(StaticID:=nStaticID).CreateSelection
However this code does not refresh the Object Manager, Object Data and Object Properties dockers.
Is there a way to refresh these dockers?
____
Yes there is way and it is:
Code:
Application.Refresh
:roll:
Reply With Quote
  #2  
Old 05-03-2005, 08:42
shelbym's Avatar
shelbym shelbym is offline
Senior Member
 
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,782
Blog Entries: 11
Send a message via ICQ to shelbym Send a message via AIM to shelbym Send a message via MSN to shelbym Send a message via Yahoo to shelbym
Default

Try adding the work refresh as the end like this:

Code:
ActiveDocument.CreateSelection nStaticID 
ActiveLayer.FindShape(StaticID:=nStaticID).CreateSelection
Refresh
Hope it helps,

Shelby

OK, you always have to be a little bit faster then me. LOL
Reply With Quote
  #3  
Old 05-03-2005, 09:00
zlatev
Guest
 
Posts: n/a
Default

Heh sorry. But when I asked the question in forum I did not know that I would find the answer so quick. I should have searched more in the manual prior asking
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
Sorting entries in the object manager dan CorelDRAW/Corel DESIGNER VBA 1 18-08-2004 22:16


All times are GMT -5. The time now is 13:52.


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