[SOLVED] Update backround label/Button on multiple cards

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Lagi Pittas
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 366
Joined: Mon Jun 10, 2013 1:32 pm

[SOLVED] Update backround label/Button on multiple cards

Post by Lagi Pittas » Sat Apr 23, 2016 7:25 pm

HI,

I have tried to create a status button (disabled and coloured as I want) and also a field because I thought maybe you can't do what I want to do with a button.

Here is what I want to do.

I have 3 cards I have created a field lets call it status i have made it into a group called grpStatus

I was under the impression that if i changed the label (if it was a button) or the field text in one of the status fields it would change it in the others.

I know I can program it to do it but isn't there a setting to do that or am i asking to much.

the simple minded minded way is to have a stack / library script that I call and that basically set the field on each card. Is there a better way?

Regards Lagi
Last edited by Lagi Pittas on Sun Apr 24, 2016 8:35 pm, edited 1 time in total.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Updating a backtound label or Button

Post by FourthWorld » Sat Apr 23, 2016 10:12 pm

See the sharedText field property.

And though not directly useful here, while you're in the Dictionary you may find it helpful to learn about the sharedHilite button property too.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Lagi Pittas
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 366
Joined: Mon Jun 10, 2013 1:32 pm

Re: Updating a backtound label or Button

Post by Lagi Pittas » Sat Apr 23, 2016 11:34 pm

Thanks Richard

Worked a treat.

I now remember that I used this over a year ago when I was trying out stuff ... but never needed it till now. I found it by accident before but couldn't see it this time, your a lifesaver.

Regards Lagi

Post Reply