Lost focus after import snapshot

Nhan, Tran Thi Thanh nhan.tran at rmit.edu.vn
Wed Sep 23 00:39:38 EDT 2009

Hi guys,


Please kindly help me with this case. Is there anyone meet the same
issue before? I have a piece code as below


   import snapshot from rectangle tRect of cd 1 of stack tStackname

   get the id of the last image of cd 1 of stack tStackname 

   put it into tImageID

   set the backgroundpattern of cd fld "dbGrid" of cd 1 of stack
tStackname to tImageID


The issue is I can't click on each line of fld "dbGrid" after running
this code. It seem that fld "dbGrid" has lost focus


Please help


Many thanks and regards,





More information about the Use-livecode mailing list