Content:
Comprehensive lecture notes on event-driven programming (EDP) in Visual Basic (VB).
Covers fundamental concepts and techniques, including:
Introduction to EDP: How it works, advantages, applications
VB controls: Common types, properties, methods, event handling
Variables and constan...
Lecture one
Peter Obiria
Peter.obiria@pacuniversity.ac.ke
, Window-based programming
• Most modern desktop systems are window-based.
What location do I use to set this pixel?
Non-window based environment Window based environment
, Event-based Programming
• Window-based GUI’s are typically
comprised of many independent
processes.
• These processes sit and wait for the
user to do something, to which it can
respond.
• Moreover, a simple application may be
waiting for any of a number of things.
, Programming forms
Procedural programming
code is executed in sequential order. statement 1
statement 2
statement 3
--------
--------
Event-driven programming statement n
code is executed upon activation of events.
method 1
method 2 Do
Do method 3 method 2
then
method 1
then
-------- method 1
method 3 -------- then
method 3
method n
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller collage. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $0.00. You're not tied to anything after your purchase.