Solved

Inherited Form

Posted on 2001-06-23
5
233 Views
Last Modified: 2010-04-06
Hi,

I intend to make a project where I create a base form then inherit this one for the others along the development.
After finish, and get the benefit of inheritance, I want to break the form parent relationship, so that no more modification can be done to child forms.
Is this possible?

thanks
Paulo
0
Comment
Question by:paulo_psa
5 Comments
 
LVL 12

Expert Comment

by:rwilson032697
ID: 6222434
Well, you _could_ break the parent-child relationship by manually editing the text versions of the forms together, but it would be a bit icky. Even then you couldn't stop the forms from being edited...

I don't see how this is a 'benefit of inheritance' though... You already have the benefit when you created the forms.

Cheers,

Raymond.
0
 

Author Comment

by:paulo_psa
ID: 6222946
Hi Raymond,

What I think...
There is no easy way to do that...

regards
Paulo
0
 

Expert Comment

by:comptebidon81
ID: 6321923
I don't see how you could break a relationship like that. I know you can do the opposite (open .dfm in notepad and modify it manually). But what you try to do is impossible. It is like trying to remove the TObject parent of a TForm.... very strange things could happen.

Another point: if you could break the relationship, that wouldn't make your Forms "modification proof".

What you could do is to make the files Read-Only on your Hard drive... This way, you should not be able to modify anything in Delphi concerning these Forms.

Regards,
GunDamn
0
 
LVL 26

Expert Comment

by:Russell Libby
ID: 8685368
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

To be PAQ/Refund

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Thank you,
Russell

EE Cleanup Volunteer
0
 

Accepted Solution

by:
PashaMod earned 0 total points
ID: 8816120
PAQ no refund,

PashaMod
Community Support Moderator @Experts Exchange
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

813 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

8 Experts available now in Live!

Get 1:1 Help Now