The Smart Button Project
About the project
The aim of the Smart Button Project is to add more functionality to a
button by dividing the button into zones, each with their own
functionality. In this project two issues were tackled, first the
position of the mouse click on a button and second to divide a button
into zones. as an example: when clicking at the top of the button
action A will be executed and when clicking at the bottom of the
button action B.
The projects content
The project contains three parts:
- The first part is the introduction (in an English and Dutch
version). It starts with a more mathematical view on the issues
followed by a Visual Basic.Net implementation with three examples.
at the end you will find the complete source code.The pieces of code
in the introduction can be used for copy/paste in to a Visual Basic
project.
- The second part is the application as described in the
introduction with three the examples.
- the third part is the source code. It contains the following
components: the form design (SBPmain.Designer.vb), the associated
code (SBPmain.vb) and the in the application used images.
In the code window to the right you will find the core functionality
of this project.
Downloadable files
Introcution Smart Button
Project (English)
Introcution Smart Button
Project (Dutch)
The application Smart Button
Project
The source code Smart Button
Project
History
January 5, 2017: initial release (versie 1.0)
February 27, 2017: release English introduction