I guess I'm at a loss of how to initialize it or use ArrayList... Is it possible to get a copy of a .sbp program that uses it to read files in a directory using an ArrayList?
From the Filesearch or Directory search topic...
FileSearch (alFiles, "\My Documents", "*.*") Got No Clue how to define alFiles or use it?
You add the ArrayList just like it was a button in the IDE. Its in the 'Controls/Collections' submenu of the IDE. I've attached a very simple project to show how its used.
Hi ZenerDiode,
Thanks a bunch... I really appreciate your example... I see how you added the ArrayList in the form designer as a control... It just has to be done that way even though the ArrayList maybe something you manage in the program and has nothing to do with the form, right?... Have a Happy Hoiliday and thanks again...
Andy
Yes, you've got it. There are a few controls like that; whereby they are added to the form in the IDE but have no 'visible' properties. A timer, open/save dialog, any of the collections and imagelist are others I can think of right now.
Thank you for the holiday wishes - respectfully returned.
You can also dynamically add them at runtime with AddObject but you don't get the benefit of AutoComplete for them at design time as the name and type are not known then.