Hi TempodiBasic,
Re Basic experience:
Ha, people still think Basic is line numbers and spaghetti code! bad rep... how long ago was this?
Me, I started with GW Basic. When I turned off my "Windows like Interface" on my 1st computer and ran straight from DOS with the help of a File Explorer like program, I discovered GW. Moved onto Quick Basic 4.5 (I think, I had to pay for it before MS added it to DOS for free but I got a compiler plus...) Then VB 2.0 then VB for MS DOS which was my favorite because Windows still quite slow with graphics back in early 90's, I was doing stuff for where I worked for a couple of years. Then big gap until 2014 when I got a hankering for some programming again.
Re: Mouse click methods
OK we are agreed to use Fellippe's method for mouse move? but it was great learning experience trying other methods.
And we can start adapting new changes around this,
but wait...
Oh, now I see what you might be after.
We need to go outside the board to select pieces for things like pawn promotion and maybe setting up positions for mid game study and such... aha! That is where/when that separate sub you were setting up would come into play! and yes, use it with the main thing for getting moves of chess pieces in game.
Re:All those broken samples in QB64 package...
Doesn't it make you want to use (and learn) QB64 to fix those up? better than ever!