Page 1 of 1

Displayed Stack name / icon

Posted: Wed Jan 16, 2013 2:19 pm
by Traxgeek
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.

Re: Displayed Stack name / icon

Posted: Wed Jan 16, 2013 2:42 pm
by Klaus
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

Re: Displayed Stack name / icon

Posted: Wed Jan 16, 2013 5:38 pm
by Traxgeek
Aha - thanks Klaus.

What would we do without you ? Worth a million help files and web-casts !!