[Gambas-user] How to create an array of checkbox?

Denis Crowther denisc at exemail.com.au
Tue Sep 26 01:10:41 CEST 2023


On 9/26/23 08:17, roberto.premoli at tiscali.it wrote:
> for example if i want to chance some value of a precise element of 
> array, for example background, like this:
> 
> public sub button1_Mousedown()
> 
>    CheckCheck[2].background = 255
> 
> end
> 
> 
> it return me the follow error "unknown identifier: CheckCheck".
> probably i do wrong sintax but i dont know the right one
> 
> 

*** sorry Typo
Dim cb As CheckBox
cb = CheckCheck[2]

''CheckCheck[2].background = 255
cb.background = 255

-- 
Regards
Denis



More information about the User mailing list