How can I address the properties of a control whose name I have in a variable?
I have tried something like this:-
TControl(ControlName).Property := xxxx;
While compiles happily I get an address error on run. I realsie I am apparently typecasting the ControlName variable to TControl and this is probably the cause of the error but I can't see the way to solve the problem.