how can I delete the shadow color of the text

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

longzexd
Posts: 7
Joined: Sun Oct 28, 2018 9:41 am

how can I delete the shadow color of the text

Post by longzexd » Sun Nov 18, 2018 1:02 pm

sreen.png
how can delete the shadow white color of my text in the field, I set the background to the dark blue color, then I see the shadow color, Thanks

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: how can I delete the shadow color of the text

Post by bogs » Sun Nov 18, 2018 2:36 pm

I think you must mean the backgroundColor of the text itself. Just set that to the same background color you have surrounding it, and only the foregroundColor of the text will be there.
Image

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9358
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: how can I delete the shadow color of the text

Post by richmond62 » Sun Nov 18, 2018 3:14 pm

shColour.png
-
In my snapshot above the first field does NOT have its text selected,
while in the second field the text IS selected.
-
setting the shadow color and the fill color doesn't seem to make any observable difference whatsoever.
-
shColour2.png

Klaus
Posts: 13820
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: how can I delete the shadow color of the text

Post by Klaus » Sun Nov 18, 2018 3:29 pm

Hi all,

since there is no UI to set a field's "shadow" (and e.g. shadowoffset) property to TRUE or FALSE in the "Property Inspector", you need to do this via the message box, I also suspect that the text is just hilited in the field.

If that is the case, simply "select empty" in a (mouseup or whatever) script will remove this.


Best

Klaus

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9358
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: how can I delete the shadow color of the text

Post by richmond62 » Sun Nov 18, 2018 3:30 pm

@Claus: "Richard" got there first. 8)

Klaus
Posts: 13820
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: how can I delete the shadow color of the text

Post by Klaus » Sun Nov 18, 2018 3:47 pm

@Claus
My name is Klaus with a K!
@"Richard" got there first. 8)
That's why I wrote ALSO.
8)

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9358
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: how can I delete the shadow color of the text

Post by richmond62 » Sun Nov 18, 2018 3:49 pm

My name is Klaus with a K!
No, really?

"Richard"

Klaus
Posts: 13820
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: how can I delete the shadow color of the text

Post by Klaus » Sun Nov 18, 2018 3:55 pm

Yes, really, because "Klaus" is my first name and not "Santa"! :D

longzexd
Posts: 7
Joined: Sun Oct 28, 2018 9:41 am

Re: how can I delete the shadow color of the text

Post by longzexd » Sun Nov 18, 2018 3:57 pm

Thanks all, I don't know why my text has shadow color, however, After I deleted the old one and drag a new label. then everything is fine.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9358
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: how can I delete the shadow color of the text

Post by richmond62 » Sun Nov 18, 2018 4:13 pm

Clause Kraas is a good friend of mine:

https://www.facebook.com/claas.krause.5
-
ClauseK.jpg
-
Clause2K.jpg
-

He does NOT have a shadow color.

Klaus
Posts: 13820
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: how can I delete the shadow color of the text

Post by Klaus » Sun Nov 18, 2018 4:19 pm

Aha.


Your message contains 4 characters.
You need to enter at least 10 characters.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7228
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: how can I delete the shadow color of the text

Post by jacque » Sun Nov 18, 2018 5:05 pm

I think bogs nailed it, that's what you get when you set the backcolor of a text chunk. You can remove it by setting the backcolor of the chunk to empty. I use this technique to allow users of textbook material to highlight passages.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9358
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: how can I delete the shadow color of the text

Post by richmond62 » Sun Nov 18, 2018 5:20 pm

backColor.png
-
A picture is often worth a thousand words. :D

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: how can I delete the shadow color of the text

Post by bogs » Sun Nov 18, 2018 5:46 pm

Klaus wrote:
Sun Nov 18, 2018 3:55 pm
Yes, really, because "Klaus" is my first name and not "Santa"! :D
Oh stop fibbing, I saw you rocking that red suit last year :P
jacque wrote:
Sun Nov 18, 2018 5:05 pm
I think bogs nailed it...
Image Well, it had to happen eventually :D
Image

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9647
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: how can I delete the shadow color of the text

Post by dunbarx » Sun Nov 18, 2018 7:39 pm

I wrote a complex LC application to determine the ratio of pertinent replies, on-subject, divided by nonsense, however adorable.

The result was 0.00042

Craig

Edit. Uh oh, now it is 0.000042.

Edit. Uh oh ...

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”