OberonPlace.com Forums  

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

Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 15-03-2017, 23:43
ager ager is offline
Join Date: Jul 2010
Location: Russia
Posts: 44
Default Optimization and phantom object

If you execute this code for any group shapes:
Dim sr As ShapeRange
Set sr = ActiveSelectionRange
If sr.Shapes.Count < 1 Then Exit Sub
Optimization = True
    sr.Shapes(1).Delete ' or do something else with the shapes
Optimization = False: ActiveWindow.refresh
the phantom object appears in the Object Manager:

I can't select this object, can't delete it. Is this a bug or not?
Reply With Quote

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
Optimization doesn't work while undoing. runflacruiser CorelDRAW/Corel DESIGNER VBA 4 23-06-2012 19:49
Positionin few object to few object VaaL2004 CorelDRAW/Corel DESIGNER VBA 1 10-10-2008 01:18
Optimization Vs. EventsEnabled ??? Rick Randall CorelDRAW/Corel DESIGNER VBA 8 19-03-2008 07:25
How to select object inside another object jukos General 4 24-10-2005 21:27
Optimization in CS fadimas CorelDRAW CS 0 08-05-2005 02:23

All times are GMT -5. The time now is 17:06.

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