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 »

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: 5480
Joined: Sat Feb 25, 2017 10:45 pm

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

Post by bogs »

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: 10415
Joined: Fri Feb 19, 2010 10:17 am

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

Post by richmond62 »

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: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

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

Post by Klaus »

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: 10415
Joined: Fri Feb 19, 2010 10:17 am

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

Post by richmond62 »

@Claus: "Richard" got there first. 8)
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

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

Post by Klaus »

@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: 10415
Joined: Fri Feb 19, 2010 10:17 am

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

Post by richmond62 »

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

"Richard"
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

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

Post by Klaus »

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 »

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: 10415
Joined: Fri Feb 19, 2010 10:17 am

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

Post by richmond62 »

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: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

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

Post by Klaus »

Aha.


Your message contains 4 characters.
You need to enter at least 10 characters.
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

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

Post by jacque »

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: 10415
Joined: Fri Feb 19, 2010 10:17 am

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

Post by richmond62 »

backColor.png
-
A picture is often worth a thousand words. :D
bogs
Posts: 5480
Joined: Sat Feb 25, 2017 10:45 pm

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

Post by bogs »

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: 10501
Joined: Wed May 06, 2009 2:28 pm

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

Post by dunbarx »

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