Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What are event handlers, trigger functions and event loops?

0
Posted

What are event handlers, trigger functions and event loops?

0

Event loops are a technique implemented to capture the generated events.In this, a Control program runs in an infinite loop checking for some condition( Say, mouse has been clicked ). Once the condition occurs, then the Event Loop invokes a function or another program which is supposed to execute whenever the event occurs. Trigger functions are functions that fire a certain event. Or, cause a certain event to occur. Eg/ In VB6, the code you write inside the click event of a button will function as Event Handler, the Event loop is implemented by VB internally with close interaction with the OS, to determine the occurence of Events.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123