unit1.pas(722,43) Fatal: Syntax error, ";" expected but ":" found
There is a ';' terminating the call.
I can't see anything wrong with this.
Have you tried my suggestion? Did you get any error using my suggestion?