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 22-06-2009, 09:14
jlorbz
Guest
 
Posts: n/a
Default Draw 12 Convert to curves name bug?

Noticed in Corel 12 that when you convert text to curves the object name data shows correctly in the object data docker but it does not show correctly in the status bar at the bottom or work properly in VBA functions.

In order set the name again you have to change the name to something different. Setting it back to the same name doesn't work unless you change it to something else first then back.

I tried it X3 and get the same result. Has anyone else experienced that and can they let me know if it happens in X4 as well? Thanks.


Just to elaborate I was planning on having a routine that goes through each selected object and doing something to it based on its name. Unfortunatley I'm not going to be able to do that because of the bug. The name actually shows up as blank in VBA even though it shows up in the object data manager...

Last edited by jlorbz; 22-06-2009 at 16:09. Reason: Elaborating..
Reply With Quote
  #2  
Old 24-06-2009, 13:39
shelbym's Avatar
shelbym shelbym is offline
Senior Member
 
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,791
Blog Entries: 15
Send a message via ICQ to shelbym Send a message via AIM to shelbym Send a message via MSN to shelbym Send a message via Yahoo to shelbym
Default Confirm

I can confirm this still happens in X4, I will submit this as a bug. You could write a macro to store the name, convert the text to curves, than reApply the name. Simplest version might look like this:
Code:
Sub KeepMyName()
    Dim strName As String
    
    strName = ActiveShape.Name
    ActiveShape.ConvertToCurves
    ActiveShape.Name = strName
End Sub
Hope that helps!

-Shelby
Reply With Quote
  #3  
Old 04-03-2010, 12:39
jlorbz
Guest
 
Posts: n/a
Default

I never received the response notification on this. Thanks.


Anyway of checking X5?

Jon
Reply With Quote
  #4  
Old 04-03-2010, 13:36
shelbym's Avatar
shelbym shelbym is offline
Senior Member
 
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,791
Blog Entries: 15
Send a message via ICQ to shelbym Send a message via AIM to shelbym Send a message via MSN to shelbym Send a message via Yahoo to shelbym
Default X5

No change in X5, the issue is still there.

-Shelby
Reply With Quote
  #5  
Old 04-03-2010, 14:41
jlorbz
Guest
 
Posts: n/a
Default

Ok thanks. That's too bad. I guess I'll just have to make a custom convert to curves button like you suggested.


Thanks again.
Reply With Quote
  #6  
Old 22-03-2010, 10:54
copper
Guest
 
Posts: n/a
Default

See also this thread, that I had posted a while back:

Retain Shape Name after Converting to Curves
Reply With Quote
  #7  
Old 22-03-2010, 11:07
jlorbz
Guest
 
Posts: n/a
Default

Thanks.

Unfortunatley for me I use a template layout with macros that depend on object names.

The macro runs when the file is initially opened. It compares the width of an active text object (by name) to a curves object (by name). If the width doesn't match exactly then the user gets a warning and the file is closed.

(Basically it's a system we set up to prevent someone from opening a file if they don't have the correct font installed. This supercede's Corel's built in font warning functions which are quite problematic.)

So what I have to do is make a custom convert to curves button that reads the name then converts it to curves and then finally changes the name back to what was read initially. It's a bandaid system to help prevent bugs within Corel's font management system.

An annoying workaround but far better than having someone use the wrong font on a job because Draw didn't bother to warn about the missing font.
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
connect curves: arc curves TobWen CurveWorks 4 30-05-2008 12:47
Convert font to curves Panjtan CorelDRAW/Corel DESIGNER VBA 2 15-10-2007 22:43
A better curves dialogue... akayani CorelDRAW/Corel DESIGNER VBA 1 28-03-2006 16:54
Convert barcode to curves pp21 New product ideas 1 10-03-2004 22:56
[b]Smoothing curves[/b] LOT CorelDRAW/Corel DESIGNER VBA 2 11-02-2004 08:24


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


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