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 08-10-2003, 15:41
Alex's Avatar
Alex Alex is offline
Administrator
 
Join Date: Nov 2002
Posts: 1,940
Blog Entries: 4
Default Draw 12 VBA: Preliminary changes

As promised earlier, here are some of planned changes to CorelDRAW 12 Object Model. The set of new methods and classes are not final yet and can change at any time before release but I guess this would be a good starting point for a discussion.

The attached document is the difference between Draw 11 and the future Draw 12 object models. In my opinion, the most significant change is a complete redesign of events.

Now Application object has a set of its own events as well as Document. The GMS project (GlobalMacroStorage) has the same events as the application. Document events such as ShapeTransform, ShapeChange, etc are to be fired when a shape is stretched, rotated or when its fill, outline or other properties are changed.

There are several new "Query" events which are sent before operations such as Save, Print, Export, Quit and a VBA macro can respond to the request and cancel it if desired.

Some of the suggestions expressed in the forums here are also on the to-do list: loading/saving template documents (.cdt), OLE object type support with a whole bunch of methods and properties.

Other notable changes are SelectableShapes collection on Document, Page and Layer includes all the shapes which are currently visible on the screen and can be selected (e.g. not locked, are on visible and editable layers, etc).

Support for Align/Distribute is also to be added.

So, run through the attached document and please post your suggestions and/or comments. If you think that something important is missing, let's hear it.
Attached Files
File Type: zip Draw11-12.zip (6.8 KB, 718 views)
Reply With Quote
  #2  
Old 17-10-2003, 15:41
Alex's Avatar
Alex Alex is offline
Administrator
 
Join Date: Nov 2002
Posts: 1,940
Blog Entries: 4
Default Re: Draw 12 VBA: Preliminary changes

I'm just curious if anybody cares to comment? If there is something that you think can be changed/improved in Draw 12 it may not be too late yet. But the longer it takes to submit your suggestion, the less chance there is to get them implemented...
Reply With Quote
  #3  
Old 18-10-2003, 06:16
jmp
Guest
 
Posts: n/a
Default

Hi Alex,

I recall you my wishes :
1) controling Corel Barcode by VBA
2) adding, removing, modifying toolbars & menus by code (like Office does)
3) the Bitmap.LinkFileName property is read only : why not a read/write property ? (this way, I could modify the path of the target images by code) ...
4) until now, the Document.BeforeClose event fires only if Document.Dirty is False

I guess (1) will be achieved by OLE objects (?!), but I don't see anything for the other punts, alas...
A good punt though : it seems CorelScript class is preserved !

Regards,
Jean-Marie
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
Count objects in selection (VBA, Corel Draw 9) korner CorelDRAW/Corel DESIGNER VBA 1 04-10-2004 09:11
Draw 12 VBA Wish List Alex CorelDRAW/Corel DESIGNER VBA 43 01-04-2004 02:08
VBA does not work with my CD 10 ! jobar CorelDRAW/Corel DESIGNER VBA 1 24-08-2003 12:38
VBA script in Corel Draw 11 mikev CurveWorks 1 14-06-2003 08:59
Detect if VBA is installed (an answer and a question) reanan CorelDRAW/Corel DESIGNER VBA 3 04-12-2002 14:35


All times are GMT -5. The time now is 01:27.


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