A.9 Modulo di ricerca
  to handle buttonClick -- Al click

a=text of field "testo" -- Testo da cercare

in viewer "Principale" -- Nella finestra principale

search excluding background for a locateOnly -- Ricerca il testo

get It -- Prendi il risultato della ricerca

-- Blocca il video per evitare sgradevoli effetti

set lockScreen of viewer "Principale"to true

It= this page

conditions -- Alcune pagine non vanno considerate

when IT contains "Page id 4"

send back

request "END SEARCH: No more match"

close viewer "Ricerca"

when IT contains "Page id 20"

send back

request "END SEARCH: No more match"

close viewer "Ricerca"

when IT contains "Page id 21"

send back

request "END SEARCH: No more match"

close viewer "Ricerca"

when IT contains "Page id 23"

send back

request "END SEARCH: No more match"

close viewer "Ricerca"

when IT contains "Page id 30"

send back

request "END SEARCH: No more match"

close viewer "Ricerca"

when IT contains "Page id 31"

send back

request "END SEARCH: No more match"

close viewer "Ricerca"

when IT contains "Page id 33"

send back

request "END SEARCH: No more match"

close viewer "Ricerca"

when IT contains "Page id 34"

send back

request "END SEARCH: No more match"

close viewer "Ricerca"

end

end

end
 
 
 

to handle mouseEnter

set fillColor to 0, 90, 0 -- "illumina" il bottone

show angledLine "LE1" -– Mostra effetto 3D

show angledLine "LE2"

end

to handle mouseLeave -- All’uscita del mouse

set fillColor to 0, 75, 0 -- "spegni" il bottone

hide angledLine "LE1" -– Nascondi effetto 3D

hide angledLine "LE2"

end
 
 

Next Page

Indice