One form triggering action on another form 
Author Message
 One form triggering action on another form

 I have an application with two forms.
call them fmMain and fmList
The main form opens another form with a list box in it.
The reason it is on a separate form is that I want this list to be somewhat
transparent so you can see the items under it.
When the user selects an item from the list I want the main form to do
something with that item (display the filename which was selected)
however, even though I get a valid selection nothing on the main form
changes.

I have a procedure called showIt on the main form which is supposed to show
the selected item. It works when the list box is on fmMain but does nothing
when I call it from fmList.

Is there something simple that I am missing?

-Jack Dahlgren, Project MVP
+++++++++++++++++++



Wed, 30 Nov 2005 08:23:02 GMT  
 One form triggering action on another form
Create an event in fmList and have fmMain "Handle" it.

l8tr - Chris

Quote:

> I have an application with two forms.
> call them fmMain and fmList
> The main form opens another form with a list box in it.
> The reason it is on a separate form is that I want this list to be somewhat
> transparent so you can see the items under it.
> When the user selects an item from the list I want the main form to do
> something with that item (display the filename which was selected)
> however, even though I get a valid selection nothing on the main form
> changes.

> I have a procedure called showIt on the main form which is supposed to show
> the selected item. It works when the list box is on fmMain but does nothing
> when I call it from fmList.

> Is there something simple that I am missing?

> -Jack Dahlgren, Project MVP
> +++++++++++++++++++



Sat, 03 Dec 2005 08:57:15 GMT  
 One form triggering action on another form
Thanks, precisely what I needed.

-Jack

Quote:

> Create an event in fmList and have fmMain "Handle" it.

> l8tr - Chris



>> I have an application with two forms.
>> call them fmMain and fmList
>> The main form opens another form with a list box in it.
>> The reason it is on a separate form is that I want this list to be
...
>> Is there something simple that I am missing?

+++++++++++++++++++


Tue, 06 Dec 2005 01:48:04 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. one form, two actions?

2. 2 Url's (action) on one form - help please

3. Two actions for one request.form

4. load another form form one form

5. How to have combo box in one form select record to be used in another form

6. Calling A Function In One Form From A Funciton In Another Form

7. Closing one form from another and resizing the entire form at runtime

8. One form "show" another form

9. Can anybody straighten me out on accessing one form's controls from another form

10. How do you pass from obj from one form to a module/forms

11. How to acess forms controls of one form from other in VB.NET

12. Sending data from one form to another (VBA and Access 97 form)

 

 
Powered by phpBB® Forum Software