<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=916363922-09062005><FONT face=Arial
color=#0000ff size=2>If I understand you correctly...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=916363922-09062005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=916363922-09062005><FONT face=Arial
color=#0000ff size=2>You can increase the visibility of a property in
sub-classes by simply redeclaring the property in a declaration section with
greater visibility (e.g. redeclaring a protected property in the public
section), but I don't think you can for fields.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=916363922-09062005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=916363922-09062005><FONT face=Arial
color=#0000ff size=2>A title in the Delphi 5 help called "Property overrides and
redeclarations" may provide more information.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=916363922-09062005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=916363922-09062005><FONT face=Arial
color=#0000ff size=2>Cheers,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=916363922-09062005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=916363922-09062005><FONT face=Arial
color=#0000ff size=2>Conor</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> delphi-bounces@ns3.123.co.nz
[mailto:delphi-bounces@ns3.123.co.nz] <B>On Behalf Of </B>Todd
Martin<BR><B>Sent:</B> Friday, 10 June 2005 10:28 a.m.<BR><B>To:</B> NZ Borland
Developers Group - Delphi List<BR><B>Subject:</B> [DUG] Accessing an ancestor
class private field<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>I seem to recall someone posting a message showing
a hack of how to access a private field in an ancestor class. </FONT></DIV>
<DIV><FONT face=Arial size=2>Something along the lines of redeclaring the field
in the descendant class. </FONT><FONT face=Arial size=2>I've tried to find
the solution, but with no luck. </FONT></DIV>
<DIV><FONT face=Arial size=2>Can someone please remind me. </FONT><FONT
face=Arial size=2>Thanks.</FONT></DIV></FONT></DIV></BODY></HTML>