Setting the icon of a btn on preOpenStack
bobs at twft.com
Tue Jun 22 15:31:20 EDT 2010
Even better Jacque. Methinks it's wise to keep handlers local to the objects being worked with, or their parents at the highest. That way your code is easier to find at a later time.
On Jun 22, 2010, at 9:47 AM, J. Landman Gay wrote:
> Bob Sneidar wrote:
>> Too little information. Where is the pre-openstack handler? Is it in
>> the substack? Are you opening the substack to fire this handler?
>> Secondly, I am not sure you can refer to an object in an as yet
>> unopened stack. It's not open yet, see? But what you can do is set
>> the lockscreen to true in your preopenstack handler, then put your
>> button icon settings in your opencard handler for the card that
>> contains the buttons. The screen will remain locked until all the
>> scripts have finished running (if I am not mistaken).
> That was my first thought too. Or he could just move the icon assignments to a preOpenCard handler on the first card. That triggers before the user sees the stack and no lockscreen would be necessary.
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode