hello there
i have some buttons when i press one of them the backcollor has to change to the selected coller
i chose the names like K1 , K2 , K3
now how do i make it like this
all is put in a function
this fuction will be called in diffrent buttonclick events how make this work
thx
i have some buttons when i press one of them the backcollor has to change to the selected coller
i chose the names like K1 , K2 , K3
now how do i make it like this
Code:
private function ChangeBackColor()
dim ClickedButton as button
select case Color
case 1 'chose coler nr1
ClickedButton.BackColor = System.Drawing.Color.FromArgb(255, 255, 255, 192)
end select
end function
all is put in a function
this fuction will be called in diffrent buttonclick events how make this work
thx