Klaus wrote:
...
lock screen
import snapshot from rect(the rect of grp "DRAW fake") of grp "DRAW fake"
put the id of last img into tNewIcon
hide last img
set the icon of btn "your button here..." to tNewIcon
unlock screen
...

You can also reuse an existing image by replacing its contents with an "export snapshot" to a variable:

  export snapshot from grp "Draw Fake" to tVar as png
  put tVar into img "whatever"


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 ____________________________________________________________________
 [email protected]                http://www.FourthWorld.com

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

Reply via email to