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 01-12-2003, 14:03
Peter Clifton
Guest
 
Posts: n/a
Default Node selection question

Hi all

I just finshed my Node Shuffler version two program (link to home page / program at bottom of this message in the sig).

I am still very new to this programming lark as you can probably tell in the code :wink: however, I could not work out if the following is possible.

Using the macro it is possible to select a different curve to work on, however when using my Undo routine, it will switch back to the previously edited curve and undo node position changes, however it will not update the active node selection based on the node range.

I know I can select a shape with the command

shape.createselection

Is there an equivalent for NodeRange or perhaps a few lines of code that will achieve a similar result?

Thanks

Peter
Reply With Quote
  #2  
Old 02-12-2003, 13:00
Peter Clifton
Guest
 
Posts: n/a
Default

Well what do you know, I worked it out

The shape.createselection changes the tool to pick, so...

All you have to do is

Set s = varStoredShape
s.createselection
varNodeRange=varStoredNodeRange
ActiveTool = cdrToolNodeEdit

And all is well.

HTH

Peter
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
Node Coordinate designation ddonnahoe CorelDRAW/Corel DESIGNER VBA 5 24-02-2005 10:00
Node Mover ddonnahoe Code Critique 6 23-02-2005 17:33
highlighting node lkoky CorelDRAW/Corel DESIGNER VBA 2 05-11-2004 03:44
Count objects in selection (VBA, Corel Draw 9) korner CorelDRAW/Corel DESIGNER VBA 1 04-10-2004 10:11
Detecting Last Node Selected? barnold CorelDRAW/Corel DESIGNER VBA 4 21-04-2004 14:03


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


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