Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
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:
;
}