Codificacion de la clase del 20/07/07:
Sub offon_click
If onoff .backcolor = vbred then
onoff.backcolor = vbblack
uno.enabled = false
dos.enabled = false
ETC...
Else
onoff.backcolor = vbred
uno.enabled = true
dos.enabled = true
ETC...
end if
end sub
sub canalmas_click
if val (nrocanal.caption) (signo menor) 13 then
nrocanal.caption = val (nrocanal= caption) + 1
Else
nrocanal.caption = 1
end if
end sub
subcatvtv_click
if tvcatv. caption = "tv" then
tvcatv. caption = "catv"
else
tvcatv. caption = "tv"
end if
end sub
Ya configuramos el boton on/off, el boton tv/catv, el boton on, el boton off, el boton tv, el boton catv, el boton de brillo mas y brillo menos, el de volumen mas y menos, el de contraste mas y menos el de canal mas y menos, el boton de favorito, todos los numeros y el enter.