OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.11 seconds.
Search: Posts Made By: shelbym
Forum: CorelDRAW/Corel DESIGNER VBA 16-05-2021, 21:36
Replies: 1
Views: 2,313
Posted By shelbym
ActiveShape.Fill.UniformColor.Name

Yep, looks to be a bug. No matter what color I use it always returns "unnamed color". I do not have a work around, if I find one I will let you know.

I will also get this logged.

-Shelby
Forum: CorelDRAW/Corel DESIGNER VBA 16-05-2021, 21:23
Replies: 2
Views: 2,078
Posted By shelbym
Inside / Outside Corner Rounding

I am a little unclear what you are asking for. Are you talking about the Outline Position?

-Shelby
Forum: CorelDRAW/Corel DESIGNER VBA 16-05-2021, 21:16
Replies: 1
Views: 1,767
Posted By shelbym
how to fill a shape with spot color by name

You can do this by the index like this:

ActiveSelection.Fill.UniformColor.PaletteAssign "PANTONEĀ® solid coated", 44

or you can do a StringAssign like this:
...
Forum: CorelDRAW/Corel DESIGNER VBA 16-05-2021, 20:49
Replies: 1
Views: 1,048
Posted By shelbym
This isn't an error that I have seen. Hopefully...

This isn't an error that I have seen. Hopefully you can figure it out.

-Shelby
Forum: CorelDRAW/Corel DESIGNER VBA 06-12-2020, 15:57
Replies: 2
Views: 2,659
Posted By shelbym
Coreldraw 2020 vba and the objects docker

Starting with X7 there are changes to the xslt files for custom dockers. You can see my post about it here:

Changes to XSLT Files for X7 (http://https://forum.oberonplace.com/blog.php?b=39018)
...
Forum: CorelDRAW/Corel DESIGNER VBA 25-11-2020, 15:11
Replies: 1
Views: 15,517
Posted By shelbym
How to use user input text in a form?

If you are not getting anything back, my guess is that your form is closed.

I would recommend you put a button on your form that wen you click on it that it would show you the value in the...
Forum: CorelDRAW/Corel DESIGNER VBA 25-11-2020, 15:05
Replies: 1
Views: 10,733
Posted By shelbym
Possible to select same font?

You could do something like this. Select a line of Text and then run the following macro. It will select all others lines of text on the current page that have the same font.

Sub SelectSameFont()...
Forum: CorelDRAW/Corel DESIGNER VBA 25-11-2020, 14:47
Replies: 1
Views: 11,211
Posted By shelbym
W10 X6 shortcut problem

I have not seen this with Windows 10. I know, that isn't much help, sorry.

-Shelby
Forum: CorelDRAW/Corel DESIGNER VBA 25-11-2020, 14:44
Replies: 2
Views: 17,889
Posted By shelbym
How to Select unique colors in shaperange

Here is a fun little way to do this using CQL:

Sub CQLColors()
Dim sGroup As Shape
Dim strColors As String

Set sGroup = ActiveSelectionRange.Group

strColors =...
Forum: CorelDRAW/Corel DESIGNER VBA 25-11-2020, 14:28
Replies: 2
Views: 7,975
Posted By shelbym
Help! Why the ApplyPatternFill Method take so much time?

Try loading it this way instead:

Sub test123()
ActiveSelection.Shapes(1).Style.Fill.LoadFill "C:\Users\Shelby\Documents\Corel\Corel Content\Fills\Starter pack\Vector Pattern 232.fill"
End...
Forum: CorelDRAW/Corel DESIGNER VBA 25-11-2020, 13:49
Replies: 2
Views: 4,735
Posted By shelbym
Not sure I understand what you are asking. Ask...

Not sure I understand what you are asking. Ask another way and I will see if I can help.

Happy coding,

-Shelby
Forum: CorelDRAW/Corel DESIGNER VBA 25-11-2020, 13:47
Replies: 1
Views: 4,136
Posted By shelbym
Origin Point of Rectangle

The easiest way would be to find the first node of the display curve.

The following will mark the origin point of each rectangle with a red circle:
Sub FindStartofRectange()
Dim sr As...
Forum: CorelDRAW/Corel DESIGNER VBA 13-05-2020, 22:05
Replies: 4
Views: 22,628
Posted By shelbym
Virtual Segment Delete

I will also say, have you tried the Virtual Segment Delete Tool?

If you hold down Shift, you will see the tool icon change, you then draw a box around the nodes and they get joined.

The...
Forum: Macros/Add-ons 02-10-2017, 10:55
Replies: 1
Views: 11,480
Posted By shelbym
Intersects

You would need to add a loop to loop through all your shapes and check them for Intersects.

-Shelby
Forum: CorelDRAW/Corel DESIGNER VBA 06-03-2017, 21:54
Replies: 2
Views: 5,425
Posted By shelbym
Custom Icon

Just to add to this, I normally create a custom toolbar to add my custom icon to, then you can export the workspace and the new toolbar. This will give you XML you need to add if you want to add the...
Forum: CorelDRAW/Corel DESIGNER VBA 02-03-2017, 00:02
Replies: 4
Views: 7,199
Posted By shelbym
Lots of Shapes

If you are working with a lot of shapes grouping makes things go move faster. So you could do something like this:
Sub MakeLayerTransparent()
Dim s As Shape

Set s =...
Forum: CorelDRAW/Corel DESIGNER VBA 17-02-2017, 11:46
Replies: 12
Views: 6,690
Posted By shelbym
Nodes Example

If you could post an example .cdr file it would be helpful. A before and after example workds best.

-Shelby
Forum: CorelDRAW/Corel DESIGNER VBA 16-01-2017, 15:39
Replies: 1
Views: 5,384
Posted By shelbym
Code

The code works fine in X6 16.4.1.1281 so I am going to guess it is a bug in that version.

-Shelby
Forum: General 16-01-2017, 15:34
Replies: 1
Views: 12,204
Posted By shelbym
X8 Improvements

The biggest X8 improvement for me is the support of High DPI screens. That said, I only have one machine with such a screen and I currently do not use it often. So I still spend most of my time in...
Forum: Macros/Add-ons 15-12-2016, 13:03
Replies: 6
Views: 15,873
Posted By shelbym
Select Effects

Here you go, select your shape or shapes and run the SelectEffects

Sub SelectEffects()
Dim sr As ShapeRange, srNewSelection As New ShapeRange
Dim s As Shape
Dim eff As Effect
...
Forum: CorelDRAW/Corel DESIGNER VBA 04-12-2016, 01:13
Replies: 2
Views: 7,042
Posted By shelbym
Order ShapeRange

Create a Function that places the Shape in the position you wish in the ShapeRange and then have it return that ShapeRange. Here is an example of the function. If your position is greater then the...
Forum: CorelDRAW/Corel DESIGNER VBA 04-12-2016, 00:27
Replies: 7
Views: 10,603
Posted By shelbym
Examples

dungbtl,

I would need some examples, but then I could see if I can get the results you want.

-Shelby
Forum: CorelDRAW/Corel DESIGNER VBA 04-12-2016, 00:25
Replies: 1
Views: 5,331
Posted By shelbym
Excel

You can always open Excel and do your coding there, you will get help and all the fun stuff.

-Shelby
Forum: CorelDRAW/Corel DESIGNER VBA 04-12-2016, 00:22
Replies: 11
Views: 22,366
Posted By shelbym
64-bit Version

Here is a 64-bit version. It is 64-bit only, but you may compare to the other to see what I changed:

Public Const OFN_ALLOWMULTISELECT = &H200&
Public Const OFN_EXPLORER = &H80000
Public Const...
Forum: CorelDRAW/Corel DESIGNER VBA 03-12-2016, 23:21
Replies: 1
Views: 5,289
Posted By shelbym
Custom Form

Is the Custom Form on the X8 Machine?

You can also comment out that line and see if it is the issue.

Another way to make sure what line is cause the problem is to set a break point very early...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -5. The time now is 07:24.


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