Uploaded February 2026 | Updated September 2026, 2 days ago
In this series of videos, which are aimed at those who have never coded in PowerBasic before, I cover one element of the language or programming - today we're adding subclassing to a Graphics window to allow more control over mouse events.
This is a followup to youtu.be/C373l_kTz94
00:00 - Introduction
02:07 - Review of previous
04:15 - Preparing for subclassing
08:12 - The callback functions
11:11 - Handling Mouse events
15:47 - Trapping Button click
19:37 - Summary
I don't work for, nor am I paid or sponsored by, the owners of PowerBASIC or any company mentioned in these videos , I'm just a fan of their products.
For more information on PowerBASIC visit pbusers.org
Music by ghosthack.de
Source files for these projects and an index to all our YouTube videos are available from here
gsfsoftware.co.uk/PBTutorials/Projects.htm
GitHub
github.com/gsfsoftware/Tutorials/tree/master/Both_Graphic_ClickDemo_part2
In this series of videos, which are aimed at those who have never coded in PowerBasic before, I cover one element of the language or programming - today we're adding subclassing to a Graphics window to allow more control over mouse events.
This is a followup to youtu.be/C373l_kTz94
00:00 - Introduction
02:07 - Review of previous
04:15 - Preparing for subclassing
08:12 - The callback functions
11:11 - Handling Mouse events
15:47 - Trapping Button click
19:37 - Summary
I don't work for, nor am I paid or sponsored by, the owners of PowerBASIC or any company mentioned in these videos , I'm just a fan of their products.
For more information on PowerBASIC visit pbusers.org
Music by ghosthack.de
Source files for these projects and an index to all our YouTube videos are available from here
gsfsoftware.co.uk/PBTutorials/Projects.htm
GitHub
github.com/gsfsoftware/Tutorials/tree/master/Both_Graphic_ClickDemo_part2










