| Subject |
Re: How to flash a message without waiting |
| From |
Daniel Georgi <daniel.georgi@hytec-hydraulik.de> |
| Date |
Tue, 24 Aug 2021 14:02:18 +0200 |
| Newsgroups |
dbase.getting-started |
Am 24.08.2021 um 13:27 schrieb Milind Nighojkar:
> Scenerio.
> I hv a code which takes several minutes to process.
> 1.How to flash a message without waiting while program is still executing
> 2. what is the syntax for closing a form in a program
> Regards
> Milind Nighojkar
>
1. You can use the _app.executeMessages() function to update your GUI,
if your process has a loop.
Example:
for i = 1 to 10
//long running task here instead of sleep
sleep 1
form.status.text = i
_app.executeMessages()
endfor
2. Simple form.close() inside the forms methods.
Daniel
|