Prompt Box is Black
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Prompt Box is Black
The prompt box is not showing when I've created the standalone application. I've attached both pictures. First is what it looks like in the program and second is the standalone application. I am very new at livecode.
- Attachments
-
- Screen Shot 2018-04-18 at 1.59.49 PM.png (10.25 KiB) Viewed 3580 times
-
- Screen Shot 2018-04-18 at 1.58.27 PM.png (7.11 KiB) Viewed 3580 times
Re: Prompt Box is Black
If you can put a few more details, such as which Os and version of Lc your using, we might be able to test it out and see if it is a bug that is report-able.
Re: Prompt Box is Black
I am using MacOs and Livecode Community 8.1.9.
-
- VIP Livecode Opensource Backer
- Posts: 9579
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Prompt Box is Black
Hi.
It seems you almost have everything in place, but that the backColor of the dialog is black. Everything in LC, including palettes and dialog boxes, modeless or not, are stacks. You can, for example:
That is the actual stack, that we see as a dialog box. What happens if you change that color?
Craig Newman
It seems you almost have everything in place, but that the backColor of the dialog is black. Everything in LC, including palettes and dialog boxes, modeless or not, are stacks. You can, for example:
Code: Select all
set the backColor of stack "answer dialog" to "red"
Craig Newman
-
- Livecode Opensource Backer
- Posts: 9287
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Prompt Box is Black
I have included a picture of the standalone with the shot of the answer dialog in the standalone
so you can see the problem is that the dialog inherits the backGroundColor of the stack.
-
- VIP Livecode Opensource Backer
- Posts: 9579
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Prompt Box is Black
Richmond.
Is this a v. 8.1.9 thing? I am in 8.1.8, (Mac OS 10.9) and if I make a new stack, set its backColor to yellow, and then invoke a dialog box, the dialog is the good ol' grey we love so much.
Craig
Is this a v. 8.1.9 thing? I am in 8.1.8, (Mac OS 10.9) and if I make a new stack, set its backColor to yellow, and then invoke a dialog box, the dialog is the good ol' grey we love so much.
Craig
Re: Prompt Box is Black
<Looking admiringly at Craig and Richmond>
You two are pretty sharp, I completely missed the hint that the main stack was black, I thought that was his desktop!
You two are pretty sharp, I completely missed the hint that the main stack was black, I thought that was his desktop!
-
- VIP Livecode Opensource Backer
- Posts: 9579
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Prompt Box is Black
Hmmm.
I do not see this at all, unless it is 8.1.9 where it occurs. I even set the opaque of stack "answer dialog" to "false" as if that outrage mattered, but still anything but yellow, the dialog even overlying the yellow stack:
And if I set the dialog backColor to empty, good ol' grey.
Craig
I do not see this at all, unless it is 8.1.9 where it occurs. I even set the opaque of stack "answer dialog" to "false" as if that outrage mattered, but still anything but yellow, the dialog even overlying the yellow stack:
Code: Select all
on mouseUp
set the opaque of stack "answer dialog" to "false"
set the backColor of stack "answer dialog" to any item of "red,blue,green,orange"
answer "XX"
end mouseUp
Craig
Re: Prompt Box is Black
Yes that worked! Thank you. The background on my stack is black and once I changed it in the code that standalone worked. Thank you!
-
- Livecode Opensource Backer
- Posts: 9287
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Prompt Box is Black
and the bottom one in LC 8.1.10 RC Cola.