For example, I have 8 indexed canvasses (CV(0…7)) representing pushbuttons with a text from 1 to 8.
They are painted red with a white border.
When I click on one I want to draw a yellow border to show it’s activated.
But when I click on different buttons, the previous ones remain with a yellow border.
If anyone has an idea how to solve this I would be very grateful.
g.FillRect 0, 0, g.Width, g.Height if Index = Case_Nbr_Lettres_Select Then g.ForeColor = clYellow else g.ForeColor = clWhite end if