Delphi Programming question

I have a class derived from TWinControl. I have published the property WIDTH (it is already exsisting in TControl) with new Trigger-Procedures SetWidth and GetWith (it is not possible to override them, because they are private in
TControl).

I can compile it. But when i dropp the new control into a form i get an
exception.


Can anybody help me ?

Thank you

DI Bernhard Angerer
Technical University Vienna
angerer@eftuv1.tuwien.ac.at
LVL 1
angererAsked:
Who is Participating?
 
sperlingConnect With a Mentor Commented:
Override SetBounds. Left, Top, Width and Height setting always result in a call to SetBounds.

Regards,

Erik.
0
 
angererAuthor Commented:
thank you very much - it works
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.