How to safely set the icon of a button ?
J. Landman Gay
jacque at hyperactivesw.com
Tue Mar 1 17:26:45 EST 2005
On 2/28/05 3:24 PM, Alex Tweedly wrote:
>
> What exactly does "image must be open" mean ?
Loaded into memory, which usually means "visible".
>
> I tried delaying the call to PlCardInitialize until after the image has
> been referenced (i.e. specified as the icon for a button), and indeed
> until after it has been displayed - and still get the same error.
That should have done it. Maybe try a "send in <time>" message that
resets the ID after the image is on screen? Maybe try setting the
alwaysBuffer of the image to true?
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list