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.
write a note on event driven programming
It uses a wimp hcimaking it user friendly.
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.
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.
visual basic is event driven programming langauage.
write a note on event driven programming
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.
It uses a wimp hcimaking it user friendly.
event driven programming is occur when the creat any event means when the user touch the mouse and visual programming does not any oop
event driven programming is based upon the events. its flow is based on the events.
Boring and unneccesary
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.
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.
visual basic is event driven programming langauage.
ask ruth she is peak p.s. i hope u die
Best suited for programs that require user input. And meth.
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.