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-02-2012, 03:03
noj noj is offline
Member
 
Join Date: Oct 2011
Location: Sydney
Posts: 31
Default "On Selection Change" Event

Can anyone tell me if it's possible to run a macro when a user selects a new object / shape within the current document?

I have a form which is essentially a neon creation tool. It creates neon from a line segment with options for colour, glow radius and glow intensity. After the user has chosen their desired settings, it creates a group of objects with the name "neon[+settings]".

The reason for the naming is because I've made it possible for the user to alter the settings of the neon using the same form even after it's been created.

What I'd like to be able to do is have these settings appear on the form if the user selects a "neon..." object again.

So as the user is clicking through different shapes and objects on their document, if they happen to click on an object named "neon..." while the 'Neon Chart' form is open, the form instantly shows the colour and glow settings of that "neon" shape (by running mid() functions on the parameters that are stored in the name).

So to recap,

I want to create a macro that runs each time an object selection change is made and only while a particular form is open and visible.

Is this do-able?
Reply With Quote
  #2  
Old 05-02-2012, 06:03
noj noj is offline
Member
 
Join Date: Oct 2011
Location: Sydney
Posts: 31
Default

Sorry, thought I'd searched as far as I could on this before I posted my question but clearly had not. Found the solution since posting my question.
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
"Advanced Clipboard" - update on Selection Manager fungel New product ideas 3 07-03-2009 10:14
Move objects to selected layer (either "a" or "b") 6fazer CorelDRAW/Corel DESIGNER VBA 3 07-03-2007 19:10
C# and CustomCommand("Boundary", "CreateBoundary") Sasha CorelDRAW/Corel DESIGNER VBA 7 15-01-2007 10:32
4DR Alex:) turn on/off "Snap to objects" & "snap location marks" from VBA wOxxOm CorelDRAW/Corel DESIGNER VBA 1 14-06-2005 12:12
reading data from file and generate "labels" LxRAE CorelDRAW/Corel DESIGNER VBA 4 23-01-2004 04:05


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


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