Quoting Julian Cellini <[EMAIL PROTECTED]>:

> I think you could typecast to a TEdit ALL the controls.
> I'm quite sure the propertiy is in the same place in all the controls\

But the controls aren't all TEdits.

I'm not sure how relevant this is, but even though they are stored in the 
Controls array as TControl, they are still TDBEdit etc. This is because 
TControl refers to subclasses through inheritance as well as actual TControl 
objects. Whether the typecast would be valid I do not know, I suspect you would 
have to typecast to an object in the same hierarchy.

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to