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
 TIEAnimation with C++ Builder

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
Polly Posted - Nov 26 2013 : 09:04:45
Has anybody got an example for the following code, from the 'MViewFlow' demo program, in C++?
1. // specific TIEHorizontalFlow properties
if animation is TIEHorizontalFlow then
with animation as TIEHorizontalFlow do

2. case ComboBox1.ItemIndex of
0: ImageEnMView1.Animation := nil;
1: ImageEnMView1.Animation := TIEHorizontalFlow.Create();
2: ImageEnMView1.Animation := TIECircularFlow.Create();
end;
1   L A T E S T    R E P L I E S    (Newest First)
fab Posted - Jan 04 2014 : 06:27:28
1. becomes:
	switch (ComboBox1->ItemIndex) {
	case 0:
		ImageEnMView1->Animation = NULL;
		break;
	case 1:
		ImageEnMView1->Animation = new TIEHorizontalFlow;
		break;
	case 2:
		ImageEnMView1->Animation = new TIECircularFlow;
		break;
	default:
		;
	}



2. becomes:

	if (dynamic_cast<TIEHorizontalFlow*>(ImageEnMView1->Animation)) {
		TIEHorizontalFlow* animation = dynamic_cast<TIEHorizontalFlow*>(ImageEnMView1->Animation);
		animation->HorizontalDistance = 20;
		//...etc..
	}