The only thing I can think of is somehow ActiveControl has changed between the "is" and "as". In the debugger, check what the class is. (Ie., watch for "ActiveControl.Classname"). You can try assigning ActiveControl to a local variable and use the local variable instead of calling the property everytime.
----- Original Message ----- From: "Alistair Grant George" <[EMAIL PROTECTED]> > Hello Dennis, > Invalid class typecast. > Thanks, > Al+ > > Monday, June 21, 2004, 7:17:23 AM, you wrote: > > DC> What is the error that you are getting? _______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
