?
Solved

Delphi Programming question

Posted on 1997-06-27
2
Medium Priority
?
197 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

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…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month11 days, 9 hours left to enroll

752 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