Link to home
Start Free TrialLog in
Avatar of APS NZ
APS NZFlag for New Zealand

asked on

TTimer problem Cardinal vs Integer

I Have a TTimer component on a form and a field that the user types in the number of minutes delay required.  I wanted to have the line

Timer2.Interval := EDelay.Value * 1000;

but I get the error message 'Incompatible types: 'Cardinal' and 'Real'

How do I cast what as what to get the desired result?

TIA

John
ASKER CERTIFIED SOLUTION
Avatar of Kyle Foster
Kyle Foster
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of APS NZ

ASKER

Thanks Kyle - that works fine!

John