View Single Post
Old 03-08-2004, 20:50
Alex's Avatar
Alex Alex is offline
Join Date: Nov 2002
Posts: 1,940
Blog Entries: 4
Default CorelDRAW 12 SP1 is available

Hi folks,

Just wanted to give you some heads-up on availability of service pack for CorelDRAW 12 and specific VBA issues it fixes. Be sure to update as it's worth it.

So, the following issues seem to be fixed now:

1. Application.Status object now works correctly when used in multi-session, such as:
Sub ShowProgress()
    Dim doc As Document
    Dim n As Long
    Set doc = CreateDocument
    Status.BeginProgress CanAbort:=True
    For n = 1 To 1000
        doc.ActiveLayer.CreateRectangle2 Rnd() * 8, Rnd() * 11, Rnd() * 5, Rnd() * 5
        If (n Mod 10) = 0 Then
            If Status.Aborted Then Exit For
        End If
    Next n
End Sub
The above code used to fail in the original Draw 12 but now works. You used to need to set the AppStatus to an object variable and then use the variable to manage the progress meter update...

2. Application.Quit method now works correctly even when used from VBA. It used to work only when called from out-of-process.

3. Outline.Size now reports correct outline style pattern length. It used to return the size of a single dot, not the whole pattern. Even though this method was created for Corel DESIGNER, you still can use it in CorelDRAW (there is no UI equivalent for this in Draw).

4. When running with Optimization turned on and in some other cases, the selection size used to be wrong sometimes, so methods such as ActiveSelection.SetBoundingBox, or .SetSize didn't work, as well as a lot of other methods of Shape and ShapeRange obejcts which rely on the size of the object(s).

5. DocumentOpen event is now fired even when document is open through drag-and-drop, by double-clicking in Windows Explorer or from using most-recent-file-list from the File Menu.

6. After using FountainColor object, CorelDRAW used to not shut down completely and stayed in memory (had to use Task Manager to kill the process).

7. When creating a new document or opening a document through VBA in CorelDRAW, the menu is updated properly. If the macro which creates a document was run when there were no document open already the main menu would stay in the short form (with only 4 items on them - as if there was still no document open).

8. SelectionInfo object now works again.

9. It used to be not possible to transform an imported object (when importing through VBA) if it was a group.

10. PatternFill didn't work. Now two color pattern fills can be applied/edited through VBA again.

If I find something else, I'll add it to the list. I hope this helps.

You can download the service pack from here
Reply With Quote