الرئيسية > lang > eventloop 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr fa id vi ko ja ru zh zh_TW eo
السابق  التالي  تحرير  إعادة تسمية  تراجع  تحديث  بحث  الإدارة  
المستندات
التاريخ
 
Event Loop
When a جامباس program has finished executing its Main() start function, it enters the so-called event loop.

The program will loop then while:

As soon as you have created a window, the event loop will run, even if this window is not visible.

During this loop, it will process any events raised by any object, and for each event, it will call the corresponding event handler.

You can call recursively the event loop by using the WAIT instruction. This may lead to infinite recursion, but this is the only way to refresh the user interface while doing a long processing.

Graphical controls are refreshed during the event loop, not when you change their properties.

إنظر أيضا

WAIT, QUIT