View Single Post
  #1  
Old 01-03-2001, 09:36 AM
gggreen69 gggreen69 is offline
Junior Member
 
Join Date: Jan 2001
Posts: 19
Default friends in Delphi ?? (or other access workarounds)

If you know C++ you know that a function prototyped in the host class preceded by the keyword 'friend' will have access to all the private and protected members of the host class.
Is there an equivalent cheat in Delphi? Or another way to accomplish this sort of thing? I have looked but havent found anything yet.
Thanks, and yes I know 'friends are bad' as my C++ prof used to say

Seth (new to Delphi)
Reply With Quote