[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Inherited Form

Posted on 2001-06-23
5
Medium Priority
?
239 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
[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
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

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 this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

650 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