Hi Graham, Am 04.06.2013 um 18:45 schrieb Graham Pearson <[email protected]>:
> I am trying to set the visible of a card to false and I am getting an > error of execution error at line n/a (Object: can't set this property) well, that's true! CARDS do not have this property, but you could hide/show the STACK with the card, the user won't tell the difference :-) > I have 2 cards, one with buttons and the other one is an image that gets > loaded from a website. On the card with the image, I have a button to > return back to the initial card with buttons so user can select another > image to view. My issue which I think has to do with layers is that the > image is always on top so when the user returns to the card with buttons > they are not visible. > > > I have tried to set the layer of the card to another number higher or > lower to the layer of the card with the buttons without much success. > Will rest my brain before going back to the forums to search for a solution. When you set the layer or number of card, you will only move it inside the stack that it is in. See above, hide/show the stack is your solution. Best Klaus -- Klaus Major http://www.major-k.de [email protected] _______________________________________________ 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
