Ok, thanks a lot Éric for this good practice advices that I was not applying enough up to now. I think it is the first time I have a handler that takes so much time (several seconds !)

Cordiales salutations de Grenoble

André

Le 18 mai 07 à 16:53, Eric Chatonet a écrit :

Hi André,

BTW working with variables is much faster because, mainly, the screen is refreshed only once :-)

As for this point, what about an invisible field (getting visible only when all is done) ? does this remain slower than with a variable ?

Good practice could be:

1. If you can, always use variables:

local tData
-----
put field "Data" into tData
< data processing>
put tData into field "Data"

2. If using variables does not appear possible, always think of locking and unlocking the screen appropriately:

lock screen
  repeat 100
     CreateNewField -- custom handler
  end repeat
unlock screen

Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
http://www.sosmartsoftware.com/
[EMAIL PROTECTED]/
----------------------------------------------------------------


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution




_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to