Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Jul 31, 1998

Learn Control Array Bounds

You can use a control array's UBound and LBound properties to determine how many controls are loaded. This code fills a string with the captions in the Label1 control array:

 For i = Label1.LBound To Label1.UBound
	txt = txt & Label1(i).Caption & ", "
Next i
Rod Stephens
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date