Apuntes de la clase del 29/6/06 (por Matias W)
Lo que vimos en esta clase fue como programar los botones tvcatv, el boton prender, el onoff y como terminar de programar el boton canalmás.
A continuación se los muestro:
sub catvtv_click ()
if tvcatv.caption = "tv" then
tvcatv.caption = "catv"
else
tvcatv.caption = "tv"
end if
end sub
sub prender_click ()
if onoff.backcolor = "...." (nombre del color) then
onoff.backcolor = "xxxx" (nombre del color)
else
onoff.backcolor = "...."
end if
sub canalmas_click ()
if canal.caption<13 then
canal.caption = canal.caption + 1
else
canal.caption = 2
end if
end sub

0 Comments:
Post a Comment
<< Home