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 30-05-2013, 14:03
runflacruiser's Avatar
runflacruiser runflacruiser is offline
Senior Member
 
Join Date: Jun 2009
Location: Pigeon Forge, TN USA
Posts: 811
Default One time selection change event.

Hi.
Before I rack my brain I figured it's prolly been done. Anyone?
I want to be able to activate the selection change event code only one time after code from a standard module is completed running.
~John
Reply With Quote
  #2  
Old 31-05-2013, 13:06
SteveDude SteveDude is offline
Senior Member
 
Join Date: Dec 2005
Location: Salina, Kansas USA
Posts: 149
Default ...

Can be easily done in .NET, but in VBA couldn't you just create a variable at the scope you want, ignore it until, or set it the first time and skip whatever your are doing in the event after that.
Reply With Quote
  #3  
Old 31-05-2013, 13:20
runflacruiser's Avatar
runflacruiser runflacruiser is offline
Senior Member
 
Join Date: Jun 2009
Location: Pigeon Forge, TN USA
Posts: 811
Default

HI.
Thanks.
Probably a saved registry setting. Whereas when set in the module to true allows the event to run. In the event, after 1 successful run save the setting to the registry as false.
Thanks Steve for the tip, it helped. Brain over fried sometimes ...lol
~John
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
"On Selection Change" Event noj CorelDRAW/Corel DESIGNER VBA 1 05-02-2012 07:03
shape selection change on GetItem(index) davidpmp Macros/Add-ons 9 12-01-2012 08:37
random selection / Invert selection buga Macros/Add-ons 19 12-10-2011 04:35
select and change multiple objects at same time Splinters General 7 23-02-2010 13:49
How to use page change event aakkaarr CorelDRAW/Corel DESIGNER VBA 2 25-01-2010 06:16


All times are GMT -5. The time now is 05:31.


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