ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Unknown transition

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
graphman Posted - Aug 14 2016 : 06:13:29
Hi,
One of my users see an error message "Unknown transition" in the program.
I can't replicate this issue.
What might be the cause of the error and how to fix it?
6   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Aug 22 2016 : 23:52:13
Yes, it could, because if you specify the transition type as iettNone, it will fall through to the "Unknown transition" error.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
graphman Posted - Aug 22 2016 : 09:01:48
Thanks.
But it could not be the cause of "Unknown transition" error.
xequte Posted - Aug 21 2016 : 18:47:17
Hi

TIETransitionType( 0 ) is iettNone, which you do not want.

You should use:

transition = TIETransitionType(random(MAX_TRANSITIONS - 1) + 1);
ImageEnView1->RunTransition(transition, duration);



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
graphman Posted - Aug 21 2016 : 06:27:33
I use
transition = TIETransitionType(random(MAX_TRANSITIONS));
ImageEnView1->RunTransition(transition, duration);
xequte Posted - Aug 14 2016 : 15:22:34
Using pyschic debugging I would guess that you are running transition effects and setting the TIETransitionType numerically, e.g. Transition := TIETransitionType( Random( n ) + 1 ), where n is not in the range of TIETransitionType

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
w2m Posted - Aug 14 2016 : 09:47:58
Provide some code or a demo. No one can reply to this unless you provide detail.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development