button characteristic different for similar stacks
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
button characteristic different for similar stacks
I am inheriting the maintenance of a few stacks.
I have two stack files called “AI Frames 5.0” and “Flex Frames 5.0”. I thought the two stacks were nearly identical. Not the case. Option menu buttons are behaving differently between the two.
STACK properties between the two stacks are the same.
BUTTON properties between the two stacks are different.
The button on Flex Frames has a property inspector title of “card button “Lamps””.
The button on “AI Frames” has a property inspector title of “button “Lamps””.
If I drag out an option menu button onto each of the stacks, the new buttons “Look” the same but their properties are not the same – one is a card button, one is a button. (Same thing happens for other field types dragged onto stack.)
When I look at the project browser the buttons are listed in the tree in different locations. (see attachment) Is there an explanation to all this?
My main problem is that I need to change the menu options for the button on the “Flex Frames” stack. How can I get “Flex Frames” stack to be similar to the “AI Frames” stack?
I have two stack files called “AI Frames 5.0” and “Flex Frames 5.0”. I thought the two stacks were nearly identical. Not the case. Option menu buttons are behaving differently between the two.
STACK properties between the two stacks are the same.
BUTTON properties between the two stacks are different.
The button on Flex Frames has a property inspector title of “card button “Lamps””.
The button on “AI Frames” has a property inspector title of “button “Lamps””.
If I drag out an option menu button onto each of the stacks, the new buttons “Look” the same but their properties are not the same – one is a card button, one is a button. (Same thing happens for other field types dragged onto stack.)
When I look at the project browser the buttons are listed in the tree in different locations. (see attachment) Is there an explanation to all this?
My main problem is that I need to change the menu options for the button on the “Flex Frames” stack. How can I get “Flex Frames” stack to be similar to the “AI Frames” stack?
Re: button characteristic different for similar stacks
Hi THOLIEN,
hello and welcome to the forum!
"card button" sound like this has been an HyperCard Stack in its earlier life, is that correct?
You can check: the hcaddressing of stack xyz
New stacks have set this property to FALSE and you should also set this to FALSE for your stack(s).
However I am not sure if this is the reason for the differently behaving option menu buttons, but worth a try.
Concerning your screenshot, the Project Browser is not very reliable. Did you close and reopen it again?
Maybe then it will display everything correctly.
Hope that helps!
Best
Klaus
hello and welcome to the forum!
"card button" sound like this has been an HyperCard Stack in its earlier life, is that correct?
You can check: the hcaddressing of stack xyz
New stacks have set this property to FALSE and you should also set this to FALSE for your stack(s).
However I am not sure if this is the reason for the differently behaving option menu buttons, but worth a try.
Concerning your screenshot, the Project Browser is not very reliable. Did you close and reopen it again?
Maybe then it will display everything correctly.
Hope that helps!
Best
Klaus
Re: button characteristic different for similar stacks
Good to be in the forum. Thanks for the quick reply.
Yes, this was a hypercard stack in a previous life. I am not familiar with hcaddressing. Can this be set in custom properties of stack inspector?
Yes, this was a hypercard stack in a previous life. I am not familiar with hcaddressing. Can this be set in custom properties of stack inspector?
Re: button characteristic different for similar stacks
I don't think so, but you can use the message box for this:
Code: Select all
set the hcaddressing of stack "name of your stack here" to FALSE
-
- VIP Livecode Opensource Backer
- Posts: 9648
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: button characteristic different for similar stacks
Hi.
No, the hcAddressing is a gadget to make the "card" and "background" distinction in HC stacks more compatible with LC and its newer "group" paradigm.
You cannot change it in LC, or lots of stuff would break. The best bet is to make all the modifications required to change the stack into an LC friendly one.
Craig Newman
No, the hcAddressing is a gadget to make the "card" and "background" distinction in HC stacks more compatible with LC and its newer "group" paradigm.
You cannot change it in LC, or lots of stuff would break. The best bet is to make all the modifications required to change the stack into an LC friendly one.
Craig Newman
Re: button characteristic different for similar stacks
I never would have found that. Thank you. At first look this appears to have resolved the issues I've been dealing with.