Tuesday, July 04, 2006

apuntes del 29/6/06

esta clase vimos como programar el boton tv/catv on/off y como terminar de programar el boton del canal mas y el menos

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