OberonPlace.com Forums  

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

Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 28-08-2012, 06:44
Joe Joe is offline
Join Date: Nov 2008
Location: Latvia
Posts: 92
Send a message via Skype™ to Joe
Unhappy Incredibly annoying gradient-related behavior (Possible glitch?)

Hi again.

I have been doing some simple gradient-related programming and have run into a super-annoying behavior. This is in X5 for sure (which I use at work) and, I think, in X6 as well.

Easy to duplicate:
Make a shape, such as a rectangle and give it a gradient fill:

Now run this simple code:
Sub Grablem()
    With ActiveSelection.Shapes.First.Fill.Fountain
    .StartX = 0
    End With
End Sub
And then try to give the object another color and this happens:

It is as if the gradient node is selected. If you click/create other objects you can escape this, but a new problem pops up - I guess internally Corel just really wants to hold on to that gradient node so object size/position updates get thrown out the window - no matter what you pick the Property Toolbar will show the position/size of the last object you actually manipulated.

This gets even worse if you deal with effects since in their case the toolbar becomes completely useless.

As an added "bonus" this behavior stays with you until you close CD, even in new documents.

Does anyone have any idea how to avoid this?
Reply With Quote

bug, gradient, problem, vba

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
macro causing annoying warning box gorgo Code Critique 2 21-03-2013 09:26
Trapped in GetUserClick - unusual behavior? Joe CorelDRAW/Corel DESIGNER VBA 2 24-05-2012 13:09
web page glitch mmacw General 1 07-11-2008 11:25
Gradient + Break Apart Hernán New product ideas 6 25-04-2004 14:34
Gradient Fill Michael Cervantes Corel Photo-Paint VBA 1 08-04-2004 09:05

All times are GMT -5. The time now is 12:21.

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