Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing Data between two forms

Status
Not open for further replies.

choudhmh

Programmer
Aug 9, 2004
34
GB
I have two forms, in both forms there are a listView panel. In the first panel data on the listView are retrive via openFolderBrowser dialogue using a button attribute. All the files are shown on that listView through this action.
Now i want to pass the value (all the files ) from listView Form1 to listView Form2. All the files by a click of a button should be passed to listView2 in form2 from listView1 form1.
Does anyone know what scripts will i need to produce inorder to do this.

Thanks,
Mac
 
i havent tried this yet, but wouldent you use a static function in each form class?So that each other can use the static function to pass data betwween them?hope this helps.
 
See thread732-911511

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top