Solved friend, etc

Posted on 2004-08-10
Last Modified: 2010-04-17
I have noticed that on the textbox property there is a section called:

Under design there is Name, Locked, and modifiers

It always says friend. If I go to the dropdown box I can change it to private, etc. what does that do and please elaborate on it.

Question by:peanut1010
LVL 70

Accepted Solution

Éric Moreau earned 35 total points
ID: 11763647
It won't change anything on your form. But forms that inherits from the form on which the textbox is will have access or be blocked depending on this property setting. See the help for all the details.

Expert Comment

ID: 11767329
Here is a more complete reference from MSDN:

Structures declared with the Friend keyword have friend access. They are accessible from within their declaration context and from anywhere else in the same program.

For complete listing and explanation of the different enumerations, go to:

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
firstswap challenge 20 78
creating threads in delphi 1 106
Hide vba in gp 7 95
object oriented design (python) and documentation tools 2 43
A short article about a problem I had getting the GPS LocationListener working.
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

803 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