>>
if currentLibrary is imagePath2 then
      stop using stack imagePath2
      close stack imagePath2
      lock messages -- [?]
      open stack imagePath1 -- &/or start using ?
      unlock messages
-- don't change currentLibrary, so the next call will toggle [may cause problems in line 1 & 2 above]
   end if
<<

actually needs to be at the end of the refreshButtons handler to work correctly.

Another means of changing icons en mass would be to set button profiles with the appropriate icons. The downsides of this are (1) profiles -- at least for moi -- are prone to error if you don't know what you are doing (eg: changing a property which has not been identified in the current profile establishes identifies that property in the master profile), and (2) this keeps both sets of icons in RAM at all times.

Rob Cozens, CCW
Serendipity Software Company

Vive R 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