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 27-04-2006, 10:30
sifterbox
Guest
 
Posts: n/a
Default moving an object down in vba

I cant seem to get one object to simply move down one object in the object manager. I have a complex macro that all works except at the end I need an object that I just brought in to the file to go down below the current object.

the macro dosent seem to record I try draggin git down below the first object and I also try pressing alt pagedown wich brings selected objects down one level.

I havent updated anything except the actual corel draw program is there a seperate vb amacro update of some kind that will give me more options etc.
Reply With Quote
  #2  
Old 27-04-2006, 14:40
wOxxOm's Avatar
wOxxOm wOxxOm is offline
Senior Member
 
Join Date: Mar 2005
Posts: 836
Default

this should work
Code:
if not activeshape is nothing then activeshape.OrderBackOne
or if you wanna send back one step all selected shapes, then
Code:
if activeselectionrange.count>0 then ActiveSelectionRange.OrderBackOne
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
VBA Object Model changes in CorelDRAW X3 Alex CorelDRAW/Corel DESIGNER VBA 0 18-01-2006 13:14
How can I extract a piece of a bitmap object using VBA code oswaldon Corel Photo-Paint VBA 2 25-04-2004 19:37
Accesing CorelDraw 10 VBA Object Model without running it dolmos CorelDRAW/Corel DESIGNER VBA 5 19-12-2003 07:52
Page selection and object moving problems wbochar CorelDRAW/Corel DESIGNER VBA 1 15-04-2003 09:10
Font Substitution Upon Import RobC CorelDRAW/Corel DESIGNER VBA 4 10-03-2003 23:06


All times are GMT -5. The time now is 22:36.


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