If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
during the execution of a function.
I wish I could keep open a form displaying the current time and a
timer (time elapsed from the opening of the form) during the execution of a function. At the beginning of this function form would be loaded and at the end of the function, would be closed. If I run the form alone, there are no problems. But if I call it within a function, time and timer are not updated. It turns out that after the function to load the form, the events are not executed but the other instructions of the function. Its run both at the same time? While the codes are executed, would like to keep the form on the screen to inform the current time and how long the MyFunction is running. |
#2
|
|||
|
|||
during the execution of a function.
What about using a second form at the same time, both reduced to fit
side-by-side ot top-to-bottom. The second form to display the times by macro action Set Value. You would need two macros, one to set time and open your form and second using On Close event of the form being timed. The second macro set the end time on the second form. -- Build a little, test a little. "samp" wrote: I wish I could keep open a form displaying the current time and a timer (time elapsed from the opening of the form) during the execution of a function. At the beginning of this function form would be loaded and at the end of the function, would be closed. If I run the form alone, there are no problems. But if I call it within a function, time and timer are not updated. It turns out that after the function to load the form, the events are not executed but the other instructions of the function. Its run both at the same time? While the codes are executed, would like to keep the form on the screen to inform the current time and how long the MyFunction is running. |
#3
|
|||
|
|||
during the execution of a function.
As well, could give an example?
|
Thread Tools | |
Display Modes | |
|
|