Modifiers Property of label

L

Laurence Nuttall

What is the modifiers property of a label
mean?

I looked in the help, but couldn't find any
explantion for it.

Thanks in Advance,

Laurence Nuttall
Programmer Analyst III
UCLA - Division of Continuing Education
 
K

Klaus H. Probst

Most controls have that property. It tells the designer what visibility the
class-level variable that represents the control in the container will have
(public, private, etc.).

Place a control on a form and look at the declared variable added to the
code file by the designer. It's normally set to Friend. If you change the
Modifiers property to Public, the designer will change the visibility of the
member variable accordingly.
 
K

Klaus H. Probst

Double click on the form designer itself, or right-click on it and select
"View Code".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

ListView Items 3
Setting Application properties 3
Capitalize keywords 1
Editor Capitalize statements 1
how to use help 2
.Net Freezes 1
public variable not public in class 1
What are Debug and Release Exe's 2

Top