answersLogoWhite

0

Let's say, I were to go create a button object for the program user to click on...; the button text might say.

[Click here]

...or,...

[Click here to see Help]

...or,...

[Click here to sort list]

-etc.

At first, the button would just simply sit there; and, therefore, the program would take no further action; except to wait for an 'event' to happen.

Whenever the user of my program clicks on that button; then, the button 'click event' will get triggered.

The users click might trigger off some other code to start working...such as, when the button is clicked on do this/or, do that...display a text message/or, sort list/ -etc.

Each seperate object has it's own list of possible events. For example, a button can have the following list of events...

button.Focus()

button.Click()

button.DoubleClick()

-etc.

so, the program waits to see what type of event is happenning, first ...and, when a certain type of event does, eventually, occur...then, this leads to more programming code getting executed.

This is how OOP/Object Oriented Programming languages...programming using objects/objects that are 'event driven' works.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

How is event driven programming different from other programming?

write a note on event driven programming


Why vb is an event driven programming language?

because it is driven by events. as it is a language used in programming, then it only makes sense to say VB is an event driven programming language.


Disadvantages of event driven programming?

It uses a wimp hcimaking it user friendly.


What is difference between visual programing and event driven programing?

event driven programming is occur when the creat any event means when the user touch the mouse and visual programming does not any oop


What does event driven scripting language mean?

event driven programming is based upon the events. its flow is based on the events.


What is trigger functions in event driven programming?

Boring and unneccesary


What are the advantage and disadvantage of organizing an event?

There are many advantages of event driven programming. This type of programming is the simplest and flexible forms of programming languages. This means the programmer has more control over the program when the user does something. Also, making an event driven program is easy. There are only a few disadvantages that come with the event driven programming. Firstly, sometimes classes are not often reusable and are hard to carry out in other applications. It is also very complex and hard to master.


Why is visual basic known as event driven programming?

event based programming involves the execution of code when a pre-determined event is triggered. this means... When an event occurs, visual basic runs any code you have written for that event.


What is visual basic short notes?

visual basic is event driven programming langauage.


What are the key features of event driven programming?

ask ruth she is peak p.s. i hope u die


Event driven programming best suited for?

Best suited for programs that require user input. And meth.


What is Event driven programming in VB?

Events are the actions that are performed by the user during the applications usage. If a user clicks a mouse button on any object then the Click event occurs. If a user moves the mouse then the mouse move event occurs. By the same way an application can generate Key down event, Key up event, mouse double click event.