View Single Post
  #2 (permalink)  
Old 04-20-2008, 11:11 AM
specci48's Avatar
specci48 specci48 is offline
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 650
Default

Hello tsteward,

welcome to basic4ppc!
Some quick (but helpful) answers to your questions:

Quote:
Originally Posted by tsteward View Post
Can I add more than one listview to a form?
Yes!

Quote:
How do I do this?
Like this:

Code:
Sub Globals
End Sub

Sub App_Start
    Form1.Show
	
    AddObject("MyListView1","ListView")	
    AddObject("MyListView2","ListView")				
    MyListView1.New1("Form1",5,5,100,140) 
    MyListView2.New1("Form1",120,5,100,140) 	
	
End Sub
Quote:
How would i referance each listview?
In the example above the listviews are nemed MyListView1 and MyListView2.

Quote:
Does removing all rows from a listview freeup that memory?
I'm not really sure how .Net handles this.


specci48

P.S.: The last question is a typical for Erel and agraham...
Reply With Quote