R
rorybecker
I am using Studio 2008 with .Net 3.5. and my Brain is Fried
My user will use typical 'next' and 'previous' buttons to navigate records
in my app.
They will sometimes be in the habit of hittting the next button repeatedly
not giving the screen time to finish refreshing it's current record before
moving to the next.
I would like my program to work like this....
-------------------------------------------------------------
Sub JumpNextRecord()
Call ChangeRecordPointer
Call UpdateWinformElement1FromDB
Call UpdateWinformElement2FromDB
Call CallDelayed(AddressOf UpdateWinformElement3FromDB, 250)
End Sub
-------------------------------------------------------------
'UpdateWinformElement1FromDB' and 'UpdateWinformElement2FromDB' are simple
methods but 'UpdateWinformElement3FromDB' is complex and time consuming and
therefore I would like to only call it once the user has remained on the
current record for 250 ms or more.
This would allow me to hit a NextRecord button 5 times really quickly and
for the system to only call 'UpdateWinformElement3FromDB' 1 time once I stop
doing that.
Does anyone know how to do this?
My user will use typical 'next' and 'previous' buttons to navigate records
in my app.
They will sometimes be in the habit of hittting the next button repeatedly
not giving the screen time to finish refreshing it's current record before
moving to the next.
I would like my program to work like this....
-------------------------------------------------------------
Sub JumpNextRecord()
Call ChangeRecordPointer
Call UpdateWinformElement1FromDB
Call UpdateWinformElement2FromDB
Call CallDelayed(AddressOf UpdateWinformElement3FromDB, 250)
End Sub
-------------------------------------------------------------
'UpdateWinformElement1FromDB' and 'UpdateWinformElement2FromDB' are simple
methods but 'UpdateWinformElement3FromDB' is complex and time consuming and
therefore I would like to only call it once the user has remained on the
current record for 250 ms or more.
This would allow me to hit a NextRecord button 5 times really quickly and
for the system to only call 'UpdateWinformElement3FromDB' 1 time once I stop
doing that.
Does anyone know how to do this?