Click here to Skip to main content
15,895,084 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Pop Out Side Menu (Visual Studio Style) Pin
Thomas Stockwell12-Sep-10 8:36
professionalThomas Stockwell12-Sep-10 8:36 
AnswerRe: Pop Out Side Menu (Visual Studio Style) Pin
darkelv13-Sep-10 19:46
darkelv13-Sep-10 19:46 
QuestionWhy are there no form control arrays in vb.net? Pin
MikeD 29-Sep-10 1:26
MikeD 29-Sep-10 1:26 
AnswerRe: Why are there no form control arrays in vb.net? Pin
Dave Kreskowiak9-Sep-10 3:43
mveDave Kreskowiak9-Sep-10 3:43 
GeneralRe: Why are there no form control arrays in vb.net? Pin
MikeD 29-Sep-10 6:49
MikeD 29-Sep-10 6:49 
AnswerRe: Why are there no form control arrays in vb.net? Pin
Luc Pattyn9-Sep-10 4:47
sitebuilderLuc Pattyn9-Sep-10 4:47 
GeneralRe: Why are there no form control arrays in vb.net? Pin
MikeD 29-Sep-10 6:46
MikeD 29-Sep-10 6:46 
AnswerRe: Why are there no form control arrays in vb.net? Pin
Ian Shlasko9-Sep-10 10:59
Ian Shlasko9-Sep-10 10:59 
If you have that many identical controls, maybe you should be adding them through code instead of copy-pasting in the designer. Do that, and you can add them to a collection (Or even build a dictionary or tree if you get bored) at the same time.

You could even create the first one of each "array", then do something like this, off the top of my head:
Public Function CreateLotsOfStuff(FirstItem as Control, NumberToCreate as Integer) as List(Of Control)
  Dim ctlList as New List(Of Control)
  Dim previousItem as Control = FirstItem

  For x as Integer = 0 To NumberToCreate - 2  'First one's there already
    Dim c as Control = previousItem .Clone()
    ctlList.Add(c)
    previousItem .Parent.Controls.Add(c)
    c.Top = previousItem.Top + previousItem.Height + 5
  Next x

  Return ctlList
End Function

(Haven't done any VB lately, only C#, so my syntax may be a little off)
Proud to have finally moved to the A-Ark. Which one are you in?
Author of the Guardians Saga (Sci-Fi/Fantasy novels)

QuestionAbout Search File List Pin
josephkumar8-Sep-10 23:14
josephkumar8-Sep-10 23:14 
AnswerRe: About Search File List Pin
Richard MacCutchan8-Sep-10 23:22
mveRichard MacCutchan8-Sep-10 23:22 
Questionhow to use Compare? Pin
zhiyuan168-Sep-10 20:20
zhiyuan168-Sep-10 20:20 
QuestionRe: how to use Compare? Pin
DaveAuld8-Sep-10 21:12
professionalDaveAuld8-Sep-10 21:12 
AnswerRe: how to use Compare? Pin
zhiyuan168-Sep-10 21:19
zhiyuan168-Sep-10 21:19 
GeneralRe: how to use Compare? Pin
DaveAuld8-Sep-10 21:22
professionalDaveAuld8-Sep-10 21:22 
GeneralRe: how to use Compare? Pin
zhiyuan168-Sep-10 21:54
zhiyuan168-Sep-10 21:54 
GeneralRe: how to use Compare? Pin
DaveAuld8-Sep-10 22:04
professionalDaveAuld8-Sep-10 22:04 
AnswerRe: how to use Compare? Pin
Luc Pattyn9-Sep-10 0:57
sitebuilderLuc Pattyn9-Sep-10 0:57 
GeneralRe: how to use Compare? Pin
DaveAuld9-Sep-10 1:19
professionalDaveAuld9-Sep-10 1:19 
GeneralRe: how to use Compare? Pin
zhiyuan169-Sep-10 1:22
zhiyuan169-Sep-10 1:22 
GeneralRe: how to use Compare? Pin
Luc Pattyn9-Sep-10 1:40
sitebuilderLuc Pattyn9-Sep-10 1:40 
GeneralRe: how to use Compare? Pin
zhiyuan169-Sep-10 1:43
zhiyuan169-Sep-10 1:43 
GeneralRe: how to use Compare? Pin
Dave Kreskowiak9-Sep-10 2:20
mveDave Kreskowiak9-Sep-10 2:20 
Questionhow to align logos/watermarks on form Pin
john john mackey8-Sep-10 12:55
john john mackey8-Sep-10 12:55 
AnswerRe: how to align logos/watermarks on form Pin
Dave Kreskowiak14-Sep-10 3:59
mveDave Kreskowiak14-Sep-10 3:59 
QuestionFile Not Found Exception Pin
eddieangel8-Sep-10 9:12
eddieangel8-Sep-10 9:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.