select multiple values in option list
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
select multiple values in option list
Am I missing something here or is it not possible to select multiple values within an option list? (I'm used to having this in FMP).
I need to filter the display of a field based on various values that should be selected in a separate filter option list field. Is this not possible?
I need to filter the display of a field based on various values that should be selected in a separate filter option list field. Is this not possible?
Actually, to be clear, the object in question is an object menu button, not, a field. I used the word "field" I guess improperly. (I'm still trying to get used to NOT referring to these objects as fields as prior programming environments I'm used to refer to them as such.)
Anyway, for buttons, I'm not seeing the multipleLines/hilite property in the PI.
I also tried the following in the Message Box which didn't work:
I'm well aware of setting this property on FIELDS, I guess it's not possible with BUTTONS? If that's the case, I guess a workaround is to show/hide a field when the button is accessed. But, what pops up then won't look the same as one of the button controls.
Anyway, not a really huge issue with my project.
Anyway, for buttons, I'm not seeing the multipleLines/hilite property in the PI.
I also tried the following in the Message Box which didn't work:
Code: Select all
set the multipleHilites of button "Option Menu" to true
Anyway, not a really huge issue with my project.
malte wrote:set the multipleLines of the field to true. You might also want to set the noncontiguousHilites to true and maybe even the toggleHilites.
Cheers,
Malte
Buttons, Bill?! What exactly do you want to do? You can set the hilite of more than one button to true, usually you do this with checkboxes. You can also put a checkmark before more than 1 menu item in e.g. a popup menu button or a pulldown menu button, but not in an option menu button.
Best regards,
Mark
Best regards,
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
From my first post:
For proper RR semantics, replace "option list field" with "option menu button".
So the concept is to select multiple values in a button. Why a button? To gain by the "drop-down" aspect in addition to the visual niceties offered in a button control (3d, shadow, etc.).
Regardless, in my solution I decided on a different approach (selecting icons which represent the values).
I can live with the idea the option menu buttons only allowing the selection of a single value. There's likely UI guidelines out there which govern this anyway. I was just approaching this from the FileMaker Pro concept of drop-down list fields which function as a hybrid between RR scrolling multiple hilite fields and pop-up or option menu buttons.
Anyway, no need to dig deeper on this. I'm okay with it.
Thanks
Bill
Code: Select all
I need to filter the display of a field based on various values that should be selected in a separate filter option list field. Is this not possible?
So the concept is to select multiple values in a button. Why a button? To gain by the "drop-down" aspect in addition to the visual niceties offered in a button control (3d, shadow, etc.).
Regardless, in my solution I decided on a different approach (selecting icons which represent the values).
I can live with the idea the option menu buttons only allowing the selection of a single value. There's likely UI guidelines out there which govern this anyway. I was just approaching this from the FileMaker Pro concept of drop-down list fields which function as a hybrid between RR scrolling multiple hilite fields and pop-up or option menu buttons.
Anyway, no need to dig deeper on this. I'm okay with it.
Thanks
Bill
Mark wrote:Buttons, Bill?! What exactly do you want to do? You can set the hilite of more than one button to true, usually you do this with checkboxes. You can also put a checkmark before more than 1 menu item in e.g. a popup menu button or a pulldown menu button, but not in an option menu button.
Best regards,
Mark