OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Thread Tools Search this Thread Display Modes
Old 01-10-2003, 08:50
Posts: n/a
Default Property Bar Refresh

When I change the size of the page with this code:

ActiveDocument.Unit = cdrTenthMicron
ActivePage.SetSize 1050000, 1480000
the Property Bar don't reflect this change. He remains at A3 size. Do you know how can I refresh the Property Bar?

Reply With Quote
Old 01-10-2003, 09:45
Alex's Avatar
Alex Alex is offline
Join Date: Nov 2002
Posts: 1,940
Blog Entries: 4
Default Re: Property Bar Refresh

The property bar has two modes - displaying the page size for each page individually and the size of the default document page. By default, it displays the default page size and hence when you change the size of an individual page you won't see a change in the property bar.

Please refer to the attached image for the location of the two buttons. If you select the lower one you will see the size of the current page.

Also, in order to change the default document size through VBA, use the master page referenced as ActiveDocument.Pages(0):

ActiveDocument.Pages(0).SetSize SizeX, SizeY
I hope this helps.
Attached Images
Reply With Quote
Old 01-10-2003, 11:37
Posts: n/a

Thank you very much.

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
CDR12: refresh Object Manager docker after CreateSelection zlatev CorelDRAW/Corel DESIGNER VBA 2 05-03-2005 09:00
Palette (or Colors array) property in VBA class in CDR12 zlatev CorelDRAW/Corel DESIGNER VBA 7 22-02-2005 11:28
Undocumented Application.Status property in CDR12 zlatev CorelDRAW/Corel DESIGNER VBA 2 21-02-2005 16:30
Would you miss CorelScript object? Alex CorelDRAW/Corel DESIGNER VBA 32 04-02-2004 14:59
VB6, GMS questions bbolte CorelDRAW/Corel DESIGNER VBA 12 06-12-2002 15:32

All times are GMT -5. The time now is 00:33.

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