[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Protected property

Posted on 2000-01-31
2
Medium Priority
?
160 Views
Last Modified: 2010-05-18
How at a component NMPOP3 open property Proxy.
If I call NMPOP3.Proxy - error "Undeclared identifier"?
0
Comment
Question by:doncov
2 Comments
 
LVL 1

Accepted Solution

by:
jcasteel earned 90 total points
ID: 2479052
If you want to publish a protected property you can create a subclass and publisch the property in the subclass.

TMaster = Class ( TObject )
Private
 ...
Protected
 property xxx : String read getxxx write set xxx;
 ...
Public
 ...
End;


If this is the definition of the class and you want to access the xxx property from a program

make a new class MyMaster


TMyMaster = Class ( TObject )
Private
 ...
Protected
 ...
Public
 property xxx;
 ...
End;
0
 

Author Comment

by:doncov
ID: 2481322
Edited text of question.
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.
Suggested Courses
Course of the Month9 days, 16 hours left to enroll

591 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question