Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 15574, TNotebook compatible with form inheritance

by Robert Cerny Email: Anonymous


This is patch for TNotebook to be compatible with form inheritance.
The zip includes component editor.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 2.0  to 5.0 413 downloads
Copyright: No significant restrictions


Size: 6,083 bytes
Updated on Tue, 06 Feb 2001 04:29:06 GMT
Originally uploaded on Tue, 06 Feb 2001 04:27:41 GMT
SHA1 Hash: 73578EEC51DEFE2E2DA34B80265B08DBB5D06EAE
MD5 Hash: CD0710BCA5AF56F1BBDCFE1F008F86D8

    Explore the files in this upload

Description
This patch makes TNotebook form inheritance compatible.
My advice is to copy source code for TPage,TPageAccess and TNotebook into another unit,
rename them and then make necessary changes. I renamed them to TRWPage,TRWPageAccess
and TRWNotebook respectively and the component/property editors refer to these classes.
rwnbkreg.pas contains registration routine and all design code.

Installation:
put the modified notebook unit in a runtime package, open rwnbkreg.pas and replace "TRWPage"
and "TRWNotebook" with what you renamed the respective classes to and put it in a design package.

The designer is not aware of TNotebook anomaly (child controls not owned by form, yet inheritable),
so if you add/remove/rename pages, you should close descendents, otherwise you'll get some access violations.
The component editor tries to take care of this.

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC04