Hello Experts,
I have a timer in form1 that refreshes my grid every x amount of seconds. I have another form2 that I call to update information displayed in grid of form1. I disable the timer when i call this form so the refresh does not interfere with my present form form2.
here is how i call my form2
My question is, how do enablethe timer once I am done entering information in form2 ?
I have a timer in form1 that refreshes my grid every x amount of seconds. I have another form2 that I call to update information displayed in grid of form1. I disable the timer when i call this form so the refresh does not interfere with my present form form2.
here is how i call my form2
Code:
LOCAL oform1 as Form
thisform.timer1.Enabled = .f.
DO FORM frmInvoice NAME oform1 LINKED WITH 0, invoicehdr.invoiceid NOSHOW
oform1.AutoCenter = .t.
oform1.Show(1) &&show modally
this.Refresh()
My question is, how do enablethe timer once I am done entering information in form2 ?