Solved

Delphi Programming question

Posted on 1997-06-27
2
195 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

739 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