Displayed Stack name / icon

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

Post Reply
Traxgeek
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 281
Joined: Wed Jan 09, 2013 10:11 am

Displayed Stack name / icon

Post by Traxgeek » Wed Jan 16, 2013 2:19 pm

Hi,

I have a Stack called, say, 'People'.
This 'Stack' name is displayed in the blue app. Title Bar - top left hand side of the app 'window' adjacent to the green LiveCode 'leaf'...

Is there a way to update this Title Bar name depending upon the card currently being displayed ? eg : for a stack named 'People', could one update this to
'People - Update Time Card' on the Time / Hours worked page/card and, maybe
'People - Detail' on the Update personal data page , etc.?

Secondly, are we 'stuck' with this 'leaf' icon or can we change it and if so, a kick in the right direction please ?

TIA

Regards.
I'm 'getting there'... just far too slowly !
Mac (Siera) and PC (Win7)
LiveCode 8.1.2 / 7.1.1

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Displayed Stack name / icon

Post by Klaus » Wed Jan 16, 2013 2:42 pm

Hi Traxgeek,

1. Display
stacks have a NAME property, but also a TITLE property! Just like you can see in the inspector for a stack 8)
Like NAME and LABEL of buttons!

TITLE is what you see on screen, NAME is what you use to address the stack in script.
Both can be identical but do not need to!
...
set the TITLE of stack "el_stacko" to "any fancy string"
...
And yes, you can do this dynamically "on opencard" or whereever.

2. Icon
This is only in the IDE!
In a standalone you will see the icon that you defined for your standalone.


Best

Klaus

Traxgeek
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 281
Joined: Wed Jan 09, 2013 10:11 am

Re: Displayed Stack name / icon

Post by Traxgeek » Wed Jan 16, 2013 5:38 pm

Aha - thanks Klaus.

What would we do without you ? Worth a million help files and web-casts !!
I'm 'getting there'... just far too slowly !
Mac (Siera) and PC (Win7)
LiveCode 8.1.2 / 7.1.1

Post Reply