Updating a Listview on the MdiParent

  • Thread starter Thread starter thorgal
  • Start date Start date
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
 
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(...)
///
 
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
 
Back
Top