Solved

Delphi Programming question

Posted on 1997-06-27
2
196 Views
Last Modified: 2010-04-04
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
0
Comment
Question by:angerer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
sperling earned 0 total points
ID: 1337891
Override SetBounds. Left, Top, Width and Height setting always result in a call to SetBounds.

Regards,

Erik.
0
 
LVL 1

Author Comment

by:angerer
ID: 1337892
thank you very much - it works
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question