473,406 Members | 2,710 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Modifiers Property of label

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

Jul 21 '05 #1
4 2187
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.
--
klaus

"Laurence Nuttall" <Bl***@Bliff.com> wrote in message
news:eM**************@TK2MSFTNGP10.phx.gbl...
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

Jul 21 '05 #2
Klaus,

I am new to .NET, Where is the "code file"

Thanks

Larry

Klaus H. Probst wrote:
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.

Jul 21 '05 #3
Klaus,

I am new to .NET, Where is the "code file"

Thanks

Larry

Klaus H. Probst wrote:
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.

Jul 21 '05 #4
Double click on the form designer itself, or right-click on it and select
"View Code".
--
____________________
Klaus H. Probst, MVP
http://www.vbbox.com/

"Laurence Nuttall" <Bl***@Bliff.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Klaus,

I am new to .NET, Where is the "code file"

Thanks

Larry

Klaus H. Probst wrote:
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.

Jul 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Kent Eilers | last post by:
I want to follow naming conventions for my controls - i usually prefix combo boxes with "cbo". When a form is in datasheet view however i do not want the user to see the 'cbo' prefix in front of...
2
by: Bob Weiner | last post by:
Is it possible to create a property and specify different access modifiers for the get and set methods? From the property definition it appears that you can define attributes but not access...
8
by: critter | last post by:
I am trying to get a value of a property of a class, but not an instance of the class. Using Reflection, I can find the class in my assembly, and I can find the property of my class, however, I...
10
by: everett | last post by:
I am dynamically creating labels. I would like to be able to attach custom properties(?) to the labels so that I can query the property for the data in it later. Is this possible, and how do I...
7
by: Chris Adams | last post by:
Hello, I just finished an online tutorial regarding Visual Inheritance. It was very informative, despite the fact that I am still unclear on two of the settings for the Modifiers property. ...
7
by: Laurence Nuttall | last post by:
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
2
by: Roy | last post by:
If I define a property as int age { get; set; } Is there a way to add different access modifiers to the accessors when implement?
1
by: Steve Hershoff | last post by:
I'm using VS 2003, and need to extract the text from an asp label in my code-behind file. The label is part of a DataList's ItemTemplate. I've noticed that in my ascx file (we're using User...
0
missinglinq
by: missinglinq | last post by:
Having been asked, for the umpteenth time, how to use the MouseMove property to change the appearance of an object, I put together this short tutorial and sample database today. Perhaps it will be of...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.