Does forcing a refresh() or draw() on the main form help?

You could put a timer on the main form to refresh the statistics display
every x seconds.

The way I would do it is as follows (I always use form classes):

Your 'parent' form class, with a method 'UpdateStatistics' which
refreshes the display of statistics.
Your 'child' form class is displayed in code. It has an init() method
with a property 'oCallingForm' which holds a reference to the 'parent'
form.

So in your parent form button:
loChildForm = createobject("frmChildForm", thisform)
loChildForm.Show()

In the child form Init()

Lparameters loCallingForm
This.oCallingForm = loCallingForm

So at some point in the child form you update your table. So you need to
refresh the statistics on the parent form:

This.oCallingForm.UpdateStatistics()



-- 
  Alan Bourke
  alanpbourke (at) fastmail (dot) fm


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/1456245513.2583635.529548074.3fa3a...@webmail.messagingengine.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to