473,400 Members | 2,163 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,400 software developers and data experts.

control array for labels in c#

how to create control array for label controls in c# .net
Oct 19 '07 #1
1 3484
Plater
7,872 Expert 4TB
Just like any other array?

So to make an array of 10:
Expand|Select|Wrap|Line Numbers
  1. Label[] mylabelarray = new Label[10];
  2.  
Oct 19 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

20
by: Ian | last post by:
Hi I can access a particular control on a form by it's index e.g. me.Controls.Item(0).Name How would I access the control by name e.g. me.Controls.Item("Label1").Name. Is it possible? ...
13
by: Bernie | last post by:
Sorry, but this ia another whine about VB.Net's lack of Control Arrays. I am new to VB.Net and I'm building an application that uses variable number of Label controls that are created at run...
31
by: jcrouse | last post by:
Is there a quick and easy way to change the color of a label controls border from the default black to white? Thank you, John
7
by: anthony | last post by:
I know this is probably talk about millions of time here, but I cant seem to find a close one, I am so used to the vb6 control array, now that I have to use vb.net for my project, I like to do...
1
by: coderjoe | last post by:
I'm new to VB.Net and I'm using the 2003 version. I created a user control that has two labels on it. The two labels are side by side. The first is bold font and will be used to display a line...
1
by: Jim McGivney | last post by:
I am working on an ASP.net project with code behind in C#. I must manipulate the contents of many label controls. In visual basic (VB6) I could place all the controls into a control array and...
104
by: Leszek | last post by:
Hi. Is it possible in javascript to operate on an array without knowing how mamy elements it has? What i want to do is sending an array to a script, and this script should add all values from...
4
by: coldude | last post by:
Hi, i have been playing with some code that creates Control array labels that display dates down in a column in a Windows Form, but i am having trouble with removing Control array labels if a...
1
by: =?Utf-8?B?Sm9zZXBo?= | last post by:
Hi all, I would like to know what is the best way to create control arrays of Labels and be able to index them? I am a former VB6 programmer that was used to plopping controls on the form and...
2
by: vfiroiu | last post by:
In VB6, I want to create a control array (labels) at startup and then be able to have one event procedure (click) for all of them that returns an index. This works with the copy-paste method of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.