Le 18.2.2004 23:41, Klaus Major � [EMAIL PROTECTED] a �crit:
Hello Klaus!

Thank you very much for your help, I'll try it.

Friendly!
> Bonsoir Fran�ois,
> 
>> Le 10.5.2003 22:27, Bryan McCormick � [EMAIL PROTECTED] a �crit:
>> 
>> Hello every body!
>> 
>> I want to start in a field "timer" with 0:00:10
>> 
>> I click on a button that is "Start Timer"
>> The button change his label as "Stop Timer"
>> 
>> Two seconds after the first clic, I clic again on the button.
>> 
>> I want of course that the field shows "0:00:08"
>> 
>> Is it difficult to do that? With HyperCard and supercard, I was able
>> to do
>> that but with Revolution�
>> 
>> Thank you!
> 
> You can use this li'l function to convert your secs to SMPTE (Lite :-)
> 
> function smpte_lite dauer1
>  set the numberformat to xx
>  put dauer1 div 60 into minu
>  put dauer1 mod 60 into seku
>  return "00" & ":" & minu & ":" & seku
> end smpte_lite
> 
> Use it this way:
> 
> ...
>   put smpte_lite(the secs - the_startsecs) into fld "timer"
> ...
> 
> Hope that helps
> 
>> Amicalement
>> Fran�ois
> 
> Regards
> 
> Klaus Major
> [EMAIL PROTECTED]
> www.major-k.de
> 
> _______________________________________________
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 


Amicalement
Fran�ois
--------------------------------------------------------------------------

Fran�ois Cuneo
Au Champ du Pr�
1353 Bofflens

e-mail: mailto:[EMAIL PROTECTED]

Web Cuk New Technologies, programmes �ducatifs pour Mac: http://www.cuk.ch
Web CUK, humeurs et tests sur le mac: http://www.cuk.ch/articles

T�l: ++41 (024) 441.17.81
Fax: ++41 (024) 441.17.05



_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to