Solved

Delphi Programming question

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now