MDI window listing? 
Author Message
 MDI window listing?

i need to get a list of all the mdi child forms of a MDI form, so that i can
check whether each one has a check box checked or not

any ideas?

(the forms are all created on the fly using 'dim newform as new cartform' so
i'm not really sure how to access them outside of that proc!)

thanx in advance!

---------
Steve Penna

  http://www.*-*-*.com/
  http://www.*-*-*.com/



Wed, 17 Jan 2001 03:00:00 GMT  
 MDI window listing?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

several possibities:

If you _only_ use MDI forms, you can use the Forms collection. If you
have other forms too, you can still use the forms collection, but
you'll have to check if the form is one of your MDI forms by checking
it's name.

For each Form in Forms
    If Form.Name="Cartform" then
        If Form.MyCheckbox=vbChecked then
            Do your stuff
        end if
    end if
Next

Andre'


Quote:
>i need to get a list of all the mdi child forms of a MDI form, so
that i can
>check whether each one has a check box checked or not

>any ideas?

>(the forms are all created on the fly using 'dim newform as new
cartform' so
>i'm not really sure how to access them outside of that proc!)

>thanx in advance!

>---------
>Steve Penna

> http://actuaweb.gamestats.com/ - Actua Sports Web
> http://www.penna.demon.co.uk/pureseeds/ - Pure Lightning Seeds

-----BEGIN PGP SIGNATURE-----
Version: PGP 5.5.5

iQA/AwUBNcNteEiQ6hC5HiceEQKJqwCfXJGnpAl9rr1Yz1diwyqartAkvUAAoM+8
K/v/TicLu6s2nduNIsJ4rgaX
=qJZw
-----END PGP SIGNATURE-----



Wed, 17 Jan 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. ?Listing open child windows on a Window submenu on MDI form

2. Adding non-mdi child to window list

3. non mdi window communicating with mdi child

4. Modeless window owned by MDI window

5. MDI windows on Windows Desktop

6. Making a child window much bigger than its parent MDI window

7. Print Window of CR Report as a Child Window within a VB4.0 32-bit MDI

8. Making a child window MUCH bigger than its parent MDI window

9. Creating window in MDI client window???

10. MDI problem, com MDI to MDI-child

11. MDI problem, com MDI to MDI-child

12. MDI problem, com MDI to MDI child

 

 
Powered by phpBB® Forum Software