No its not possible to access private members without being in the same pas.  umm couldn't you just store an array of stringlist positions instead or pointers to a string (not knowing what you are trying to do).
 
I would look for other ways to implement your functionality or build your own TStringList by copying the source out.  Don't change classes.
 
 
 
Rob Martin
Software Engineer
 
phone 03 377 0495
fax 03 377 0496   
web www.chreos.com
Wild Software Ltd
----- Original Message -----
From: Ross Levis
Sent: Friday, September 17, 2004 2:02 PM
Subject: [DUG] TStringList.FList

Is it possible to make visible a private variable in an ancestor class?  I need to obtain the pointer to the FList record array in a TStringList so I can store the pointer to each string in the array.
 
If not then I may be faced with modifying the Classes unit or taking a copy of the TStringList code from the unit and making my own TStringList.  Any ideas?
 
Cheers,
Ross.


_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi
_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to