Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 2 of 2 total |
TObjectList Create override |
Tue, Apr 5 2016 5:16 AM | Permanent Link |
Matthew Jones | I want to create a descendant of TObjectList. I can override the normal
Create, but not the one with the parameter because it is not marked as virtual in TObjectList. If I don't mark it as override, the compiler complains. What am I missing? Do I have to hack the TObjectList source to make its constructor Create(AOwnsObjects: Boolean); into constructor Create(AOwnsObjects: Boolean); virtual; Or how am I supposed to do this? I tried reintroduce but not known. -- Matthew Jones |
Tue, Apr 5 2016 5:18 AM | Permanent Link |
Matthew Jones | Matthew Jones wrote:
> I want to create a descendant of TObjectList. Hmm, perhaps scratch this anyway, other than general interest. Because the OwnsObjects is private, I can't do what I want this way. I will have to write my class as a container instead of derived. -- Matthew Jones |
This web page was last updated on Friday, March 29, 2024 at 03:30 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |