[Gambas-user] Possible bug with ColorPalette
adamnt42 at gmail.com
Fri Jul 3 18:53:03 CEST 2020
On 4/7/20 1:45 am, Hans Lehmann wrote:
> I just wanted to show that the function ColorPalette1.Colors.Delete(0,
> n) is NOT the right function,
because it returns only an array with the deleted colors!
> This does NOT trigger the deletion of colors from the array.
> With kind regards
Well spotted Hans!
To remove a color from the --control--
Dim hList As Integer = ColorPalette1.Colors
ColorPalette1.Colors = hList
N.B. Contrary to what the help says ColorPalette.Colors is not a read
only integer property.
More information about the User