Updating a Listview on the MdiParent

T

thorgal

Hello

Following problem occured:

I have an MdiParent with a Listview. In that listview i have elements like
(x1,x2,x3)
When I click on x1 a subform (mdichild) opens and i can change the settings
of x1 and the name x1 becomes y1, when i save these settings to my database
I want to refresh my listview on my MdiParent, but how do I do that from
within my MdiChild?

Thanks in advance
Peter D
 
H

Herfried K. Wagner [MVP]

thorgal said:
I have an MdiParent with a Listview. In that listview i have elements like
(x1,x2,x3)
When I click on x1 a subform (mdichild) opens and i can change the
settings of x1 and the name x1 becomes y1, when i save these settings to
my database I want to refresh my listview on my MdiParent, but how do I do
that from within my MdiChild?

\\\
DirectCat(Me.MdiParent, MainForm).ListView1.Items.Add(...)
///
 
T

thorgal

Herfried K. Wagner said:
\\\
DirectCat(Me.MdiParent, MainForm).ListView1.Items.Add(...)
///

Thanks for the advace

It worked perfectly but I have a second question:

Why does my MdiChild load so slow in my mdiParent, it always takes a sew
seconds before my MdiChild loads??

Thanks
Peter D
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top