Re: scope of gRevAppIcon on substacks

2015-03-07 Thread Peter M. Brigham
Look under "icon." You're loading the global, and then the engine is executing the equivalent of: global gRevAppIcon set the icon of button xxx of stack "Answer Dialog" to gRevAppIcon so the rules for setting icons apply. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~

Re: scope of gRevAppIcon on substacks

2015-03-07 Thread Dr. Hawkins
On Fri, Mar 6, 2015 at 7:58 PM, Peter M. Brigham wrote: > From the dictionary: > > - > LiveCode looks for the specified image in the following order: > Thanks. That and Jacqui's explanation of standalones will probably solve everything (it really doesn't matter whether it gives me the imag

Re: scope of gRevAppIcon on substacks

2015-03-06 Thread J. Landman Gay
On 3/6/2015 9:58 PM, Peter M. Brigham wrote: What you DO have to do is call this every time before you invoke an ask or answer dialog. The globals seem to be reset on idle, so they don't stick. It's a PITA that way. In a standalone it sticks and you only need to set it up once. It's just the I

Re: scope of gRevAppIcon on substacks

2015-03-06 Thread Peter M. Brigham
You don't have to have the icons in the stack in which it occurs. What I do is call a handler in my library stack setupicons: on setupicons global gRevAppIcon,gRevSmallAppIcon put 2241 into gRevAppIcon put 2242 into gRevSmallAppIcon end setupicons >From the dictionary: - LiveCode l