Page 1 of 1
Changing window title
Posted: Mon Aug 20, 2012 5:29 pm
by marksmithhfx
Hi, right now all cards have the stack title as their name (at the top of the card window). How can I change this so it has a title I define for each card? For example the first card might be called "Collection", the second "Acme Inc." the third "Template", the forth "View" etc. Thanks
-- Mark
Re: Changing window title
Posted: Mon Aug 20, 2012 5:35 pm
by sturgis
Something like:
on opencard
set the title of this stack to "whatever"
end opencard
if you want it to match the card name you can
set the title of this stack to the short name of this card-- instead.
So that you can name your cards whatever and the stack title will reflect that name.
Re: Changing window title
Posted: Mon Aug 20, 2012 6:14 pm
by dunbarx
What Sturgis said.
The important thing to know is that titles are like convenient, er, labels (in fact they are synonyms), whereas names are far more solid and more highly integrated properties of objects. Only a few controls (buttons, groups) have this extra level of "naming" settable in the inspector. Most, (fields, scrollbars, images, gaphics, datagrids) do not, and I never understood why. But they all can have labels, set under script control.
Craig Newman
Re: Changing window title
Posted: Tue Aug 21, 2012 4:47 pm
by marksmithhfx
Thanks guys. Works as advertised.
-- Mark