Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 25th, 2005, 9:23 AM   #1
tayspen
Hobbyist Programmer
 
Join Date: Sep 2005
Location: A House...
Posts: 191
Rep Power: 3 tayspen is on a distinguished road
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
tayspen is offline   Reply With Quote
Old Oct 26th, 2005, 12:37 PM   #2
MBirchmeier
Hobbyist Programmer
 
Join Date: Oct 2005
Posts: 211
Rep Power: 3 MBirchmeier is on a distinguished road
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
MBirchmeier is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 7:08 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC