473,382 Members | 1,563 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,382 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 2185
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.