Menu button Behavior
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Menu button Behavior
The property inspector for any type of menu button (option, popup, combobox, etc) does not include a place to specify a behavior. I have been able to set a behavior by issuing a set behavior command from the message box and all seems to work OK. I guess I'm mildly concerned that the fact that there's isn't anywhere to do it in the property inspector means I shouldn't be doing it at all and it might cause problems to surface later.
Any thoughts?
Pete
Any thoughts?
Pete
Re: Menu button Behavior
Pete,
I can't think of a reason to worry and can't find any reasons in the documentaton either.
Best,
Mark
I can't think of a reason to worry and can't find any reasons in the documentaton either.
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- Posts: 919
- Joined: Wed Nov 04, 2009 11:41 am
Re: Menu button Behavior
Hi,
This "feature" has just tripped me up (it doesn't take much
). Should/has the display of an associated behavior (behaviour) button on the inspector be entered as a feature request?
This "feature" has just tripped me up (it doesn't take much

best wishes
Skids
Skids
Re: Menu button Behavior
Hi Simon,
Get accustomed to the message box instead, which IS your friend
Best
Klaus
you can do this, but don't exspect to see this very soon!Simon Knight wrote:Hi,
This "feature" has just tripped me up (it doesn't take much). Should/has the display of an associated behavior (behaviour) button on the inspector be entered as a feature request?
Get accustomed to the message box instead, which IS your friend

Best
Klaus
Re: Menu button Behavior
Just entered it at the QA center, thanks for reminding me. It's report# 9014.
Pete
Pete
-
- Posts: 919
- Joined: Wed Nov 04, 2009 11:41 am
Re: Menu button Behavior
Klaus,
I keep putting off learning about the message box. Can you suggest where I should start?
Simon
I keep putting off learning about the message box. Can you suggest where I should start?
Simon
best wishes
Skids
Skids
Re: Menu button Behavior
Hi Simon,
basically you can do everything with it, like getting/setting properties, or things that are not possible in the inspector!
The mesage box is the command line of Rev, so you can enter everything here and let it execute like:
put the behavior of btn "el buttone" ## ENTER
And you will see the result in the field below, wehre you can copy it or do whatever you want to.
A very good trick is to use "the mouseXYZ"!
1. Enter this into the msg:
put the name of the mousestack ## or any other property
2. Positon the mouse over any stack
3. NOW hit ENTER to execute the command in the msg
Or use "the mousecontrol"
1. Enter this into the msg:
put the height of the mousecontrol ## or any other prop
2. Positon the mouse over any control (button/field etc.)
3. NOW hit ENTER to execute the command in the msg
This does come handy very often!
I'm sure you will soon see the value of this little thingie
Best
Klaus
basically you can do everything with it, like getting/setting properties, or things that are not possible in the inspector!
The mesage box is the command line of Rev, so you can enter everything here and let it execute like:
put the behavior of btn "el buttone" ## ENTER
And you will see the result in the field below, wehre you can copy it or do whatever you want to.
A very good trick is to use "the mouseXYZ"!
1. Enter this into the msg:
put the name of the mousestack ## or any other property
2. Positon the mouse over any stack
3. NOW hit ENTER to execute the command in the msg
Or use "the mousecontrol"
1. Enter this into the msg:
put the height of the mousecontrol ## or any other prop
2. Positon the mouse over any control (button/field etc.)
3. NOW hit ENTER to execute the command in the msg
This does come handy very often!
I'm sure you will soon see the value of this little thingie

Best
Klaus
-
- Posts: 919
- Joined: Wed Nov 04, 2009 11:41 am
Re: Menu button Behavior
Klaus,
I shall start experimenting with the thingie today - thanks
(I shall also watch some of the RunRev2009 videos again which show how some of the presenters use it)
Simon
I shall start experimenting with the thingie today - thanks
(I shall also watch some of the RunRev2009 videos again which show how some of the presenters use it)
Simon
best wishes
Skids
Skids