![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
Join Date: Sep 2005
Location: A House...
Posts: 191
Rep Power: 3
![]() |
Form Link
So i have 2 forms (1 and 2) on form1 there is a listbox with the Paths to textfiles in it. on form2 there is a text box. how can i "link" the forms to open the TEXT of the text file whos path is in the listbox on form1 into the textbox on form2 (in a button click). I cannot figure this out. Any help? thanks
-T |
|
|
|
|
|
#2 |
|
Hobbyist Programmer
Join Date: Oct 2005
Posts: 211
Rep Power: 3
![]() |
There's different ways of doing it...
You can make the controls visible from one form or another, and have form1 modify form2's controls You can set a listener on form2 to listen for an event on form1 etc. There's many ways of doing it, some pseudo-code or code examples would be a nice starting place. -MBirchmeier |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|