Hi Jonk,
Your program looks good. Are you using Borland C#? Is there a hint of a TMS custom component menu? Borland Delphi is my main program format. I dropped the Powerbasic language due to it's limitations.
Welcome to this forum. What other projects are you working on or plan to work on?
Wayne