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 28-02-2013, 05:02
FaneDuru FaneDuru is offline
Join Date: May 2012
Posts: 35
Question Select Shape after Undo...

I have a GMS file preparing a file for cutting. I treat some cases (powerClip, Group or simple lines nets) and during fine tuning I need to revert at the initial selection. For the cutting shape belonging to a group I try to select it again after Undo (programmatically), but it does not work...
I know the shape name and I use the next code:
Private Sub btUndo_Click()
    Application.Optimization = True
    Application.Optimization = False
End Sub
I also tried:
but it does not work
'Prnt' is the page where the group is, declared at the form class level and it is not nothing...
I mean this code put exactly instead of the line to create selection:
 Debug.Print Prnt.Shapes("xxx").Name
returns 'xxx'.
I can select the specific shape in a separate piece of code but not after Undo...
I tried also to put those lines in a separate procedure and call it but the same result...

Are there some limitations after using Undo?
How can a I select that shape after Undo?

I use CorelDRAW X5.

Thanks in advance!
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
How to select shape of same width & height using CQL and not selecting groupshape aakkaarr CorelDRAW/Corel DESIGNER VBA 3 19-09-2011 08:44
Select objects within a shape nic Macros/Add-ons 10 20-08-2010 05:36
How to select the newly duplicated shape AdrianD Macros/Add-ons 2 06-03-2010 01:44
Undo Levels bprice CorelDRAW/Corel DESIGNER VBA 1 21-10-2008 11:13
How to select all shape ? -=HKLC=- CorelDRAW/Corel DESIGNER VBA 1 25-10-2004 00:10

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

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