Background color in an 'answer' dialog?

Graham Samuel livfoss at mac.com
Wed Feb 28 12:02:06 EST 2018


Thanks Devin, that’s a great explanation - my program, which is just a one stack-one card helper app, did start off with a red background. Later I changed the card background (remember, there’s only one card) but forgot about the stack background since it didn’t show. So there you have it.

 We do seem to have found a smallish hole in the documentation about this sort of thing. Perhaps that’s what I should be reporting to the Quality Centre.

While I’m on to explanations, in all my years of using LC and its predecessors, I have never understood what the right hand column in the ‘colors’ tab of the object inspector is for. The left hand column is straightforward: one just picks a color, for example “background fill”. But the next column leads to a strange popup list of icons (some are called ‘standard icons’, whatever that means). Why would I want my background fill to be a repeat of a lot of little forward arrows, for example? And if I did this by mistake, how can I delete this choice? I could not find a way. Proper patterns, as in wallpaper, I find easier to understand, even if I’ve never used them. Am I missing some tremendous feature? Or is this just of archeological interest?

Just askin’

Cheers

Graham

> On 28 Feb 2018, at 16:41, Devin Asay via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Graham,
> 
> I think what is happening is that when you run in the IDE the parent stack of the answer dialog stack is the LiveCode engine, which sets a platform-appropriate background color (or no background color) for all child stacks. When you include it in a standalone, your stack-made-standalone becomes the parent stack, and whatever background color is set for that stack is inherited by the answer dialog stack. At least I have seen this happen with standalones that have a stack color set, and I’m fairly certain this is what you’re seeing. What happens if you change your main stack’s background color then rebuild the standalone?
> 
> Devin
> 
> 
> On Feb 28, 2018, at 8:01 AM, Graham Samuel via use-livecode <use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>> wrote:
> 
> Craig, you make an excellent point. We now know there is a stack named “answer dialog” and that it has properties you can set. Surely the documentation should explain this somewhere?
> 
> By the way, when I said my red background had disappeared, it hadn’t. It’s just that when you I through the script in the IDE, the background comes up white, whereas in the standalone (both platforms), it comes up red. A bug, surely? I will see if I can boil it down far enough to report it.
> 
> Graham
> 
> On 28 Feb 2018, at 14:50, dunbarx via use-livecode <use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>> wrote:
> 
> As a follow-up, is there anywhere a list of all IDE stacks? For example, the
> stack named "answer dialog", though perfectly logical, is not listed
> anywhere, and the names of some stacks, like the script editor, have changed
> over the several LC versions.
> 
> It is a great way to get oneself in real trouble, but also useful if one
> wants red answer dialog boxes.
> 
> Craig
> 
> 
> 
> --
> Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> Devin Asay
> Director
> Office of Digital Humanities
> Brigham Young University
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list