Re: Shouldn't space or enter in a menu select the hilited item?

2022-08-16 Thread Bob Sneidar via use-livecode
Bug 23884

Bob S


On Aug 16, 2022, at 08:08 , Bob Sneidar 
mailto:bobsnei...@iotecdigital.com>> wrote:

Thanks Craig for confirming, I will put in an enhancement request FWIW.

Bob S


On Aug 16, 2022, at 05:55 , Craig Newman via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

Bob.

You can always roll your own,

Craig


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Shouldn't space or enter in a menu select the hilited item?

2022-08-16 Thread Bob Sneidar via use-livecode
Thanks Craig for confirming, I will put in an enhancement request FWIW. 

Bob S


> On Aug 16, 2022, at 05:55 , Craig Newman via use-livecode 
>  wrote:
> 
> Bob.
> 
> You can always roll your own,
> 
> Craig


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Shouldn't space or enter in a menu select the hilited item?

2022-08-16 Thread Craig Newman via use-livecode
Bob.

You can always roll your own,

Craig

> On Aug 15, 2022, at 6:16 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> I should also mention that menuPick IS getting triggered, but if I use 
> spacebar or return to select, the parameter for which item got picked is 
> empty. If I click then the parameter is NOT empty it's the item I clicked. 
> 
> Bob S
> 
> 
>> On Aug 15, 2022, at 15:03 , Bob Sneidar via use-livecode 
>>  wrote:
>> 
>> Hi Craig. It's not a popup menu it's a combo box. I do use popup menus and 
>> those work as advertized. 
>> 
>> When I click to expand a combo box menu, it I get the list of items, and if 
>> I click an item, it correctly selects that item. If however I use the arrow 
>> keys to hilite an item then use the space bar or return to select the 
>> hilited item, the hilited item is NOT selected, it retains it's previous 
>> label. 
>> 
>> Bob S
>> 
>> 
>>> On Aug 15, 2022, at 11:03 , Craig Newman via use-livecode 
>>>  wrote:
>>> 
>>> Hi, I was not complete. Once the arrow keys have found the menuItem of 
>>> interest, clicking Enter or Return executes the menuPick handler.
>>> 
>>> Craig
>>> 
 On Aug 12, 2022, at 7:37 PM, Bob Sneidar via use-livecode 
  wrote:
 
 Hi all. Very odd, I thought this worked. 
 
 I am programmatically popping up a menu, then I want to be able to jse the 
 arrow keys to traverse the selections available. If I click any of the 
 choices, the menuPick handler gets the choice as the first parameter. If 
 however I use the spacebar or the enterKey to select a choice, the 
 parameter is empty in menuPick! That isn't right, is it??
 
 MacOS 10.15.7 LC 9.6.9 rc1
 
 Bob S
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Shouldn't space or enter in a menu select the hilited item?

2022-08-16 Thread Craig Newman via use-livecode
Yes, the combo box does not return the “selected” menuItem. Likely something to 
do with its compound nature.

> On Aug 15, 2022, at 6:16 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> I should also mention that menuPick IS getting triggered, but if I use 
> spacebar or return to select, the parameter for which item got picked is 
> empty. If I click then the parameter is NOT empty it's the item I clicked. 
> 
> Bob S
> 
> 
>> On Aug 15, 2022, at 15:03 , Bob Sneidar via use-livecode 
>>  wrote:
>> 
>> Hi Craig. It's not a popup menu it's a combo box. I do use popup menus and 
>> those work as advertized. 
>> 
>> When I click to expand a combo box menu, it I get the list of items, and if 
>> I click an item, it correctly selects that item. If however I use the arrow 
>> keys to hilite an item then use the space bar or return to select the 
>> hilited item, the hilited item is NOT selected, it retains it's previous 
>> label. 
>> 
>> Bob S
>> 
>> 
>>> On Aug 15, 2022, at 11:03 , Craig Newman via use-livecode 
>>>  wrote:
>>> 
>>> Hi, I was not complete. Once the arrow keys have found the menuItem of 
>>> interest, clicking Enter or Return executes the menuPick handler.
>>> 
>>> Craig
>>> 
 On Aug 12, 2022, at 7:37 PM, Bob Sneidar via use-livecode 
  wrote:
 
 Hi all. Very odd, I thought this worked. 
 
 I am programmatically popping up a menu, then I want to be able to jse the 
 arrow keys to traverse the selections available. If I click any of the 
 choices, the menuPick handler gets the choice as the first parameter. If 
 however I use the spacebar or the enterKey to select a choice, the 
 parameter is empty in menuPick! That isn't right, is it??
 
 MacOS 10.15.7 LC 9.6.9 rc1
 
 Bob S
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Shouldn't space or enter in a menu select the hilited item?

2022-08-15 Thread Bob Sneidar via use-livecode
I should also mention that menuPick IS getting triggered, but if I use spacebar 
or return to select, the parameter for which item got picked is empty. If I 
click then the parameter is NOT empty it's the item I clicked. 

Bob S


> On Aug 15, 2022, at 15:03 , Bob Sneidar via use-livecode 
>  wrote:
> 
> Hi Craig. It's not a popup menu it's a combo box. I do use popup menus and 
> those work as advertized. 
> 
> When I click to expand a combo box menu, it I get the list of items, and if I 
> click an item, it correctly selects that item. If however I use the arrow 
> keys to hilite an item then use the space bar or return to select the hilited 
> item, the hilited item is NOT selected, it retains it's previous label. 
> 
> Bob S
> 
> 
>> On Aug 15, 2022, at 11:03 , Craig Newman via use-livecode 
>>  wrote:
>> 
>> Hi, I was not complete. Once the arrow keys have found the menuItem of 
>> interest, clicking Enter or Return executes the menuPick handler.
>> 
>> Craig
>> 
>>> On Aug 12, 2022, at 7:37 PM, Bob Sneidar via use-livecode 
>>>  wrote:
>>> 
>>> Hi all. Very odd, I thought this worked. 
>>> 
>>> I am programmatically popping up a menu, then I want to be able to jse the 
>>> arrow keys to traverse the selections available. If I click any of the 
>>> choices, the menuPick handler gets the choice as the first parameter. If 
>>> however I use the spacebar or the enterKey to select a choice, the 
>>> parameter is empty in menuPick! That isn't right, is it??
>>> 
>>> MacOS 10.15.7 LC 9.6.9 rc1
>>> 
>>> Bob S
>>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Shouldn't space or enter in a menu select the hilited item?

2022-08-15 Thread Bob Sneidar via use-livecode
Hi Craig. It's not a popup menu it's a combo box. I do use popup menus and 
those work as advertized. 

When I click to expand a combo box menu, it I get the list of items, and if I 
click an item, it correctly selects that item. If however I use the arrow keys 
to hilite an item then use the space bar or return to select the hilited item, 
the hilited item is NOT selected, it retains it's previous label. 

Bob S


> On Aug 15, 2022, at 11:03 , Craig Newman via use-livecode 
>  wrote:
> 
> Hi, I was not complete. Once the arrow keys have found the menuItem of 
> interest, clicking Enter or Return executes the menuPick handler.
> 
> Craig
> 
>> On Aug 12, 2022, at 7:37 PM, Bob Sneidar via use-livecode 
>>  wrote:
>> 
>> Hi all. Very odd, I thought this worked. 
>> 
>> I am programmatically popping up a menu, then I want to be able to jse the 
>> arrow keys to traverse the selections available. If I click any of the 
>> choices, the menuPick handler gets the choice as the first parameter. If 
>> however I use the spacebar or the enterKey to select a choice, the parameter 
>> is empty in menuPick! That isn't right, is it??
>> 
>> MacOS 10.15.7 LC 9.6.9 rc1
>> 
>> Bob S
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Shouldn't space or enter in a menu select the hilited item?

2022-08-15 Thread Craig Newman via use-livecode
Hi, I was not complete. Once the arrow keys have found the menuItem of 
interest, clicking Enter or Return executes the menuPick handler.

Craig

> On Aug 12, 2022, at 7:37 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Hi all. Very odd, I thought this worked. 
> 
> I am programmatically popping up a menu, then I want to be able to jse the 
> arrow keys to traverse the selections available. If I click any of the 
> choices, the menuPick handler gets the choice as the first parameter. If 
> however I use the spacebar or the enterKey to select a choice, the parameter 
> is empty in menuPick! That isn't right, is it??
> 
> MacOS 10.15.7 LC 9.6.9 rc1
> 
> Bob S
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Shouldn't space or enter in a menu select the hilited item?

2022-08-15 Thread Craig Newman via use-livecode
Hi.

I am missing something. Make a popup menu button. Ina mouseUp handler in 
another button:

on mouseUp
  click at the loc of btn 1
end mouseUp

Once the menu is open, the up and down arrow keys navigate among the menuItems.

Craig

> On Aug 12, 2022, at 7:37 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Hi all. Very odd, I thought this worked. 
> 
> I am programmatically popping up a menu, then I want to be able to jse the 
> arrow keys to traverse the selections available. If I click any of the 
> choices, the menuPick handler gets the choice as the first parameter. If 
> however I use the spacebar or the enterKey to select a choice, the parameter 
> is empty in menuPick! That isn't right, is it??
> 
> MacOS 10.15.7 LC 9.6.9 rc1
> 
> Bob S
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Shouldn't space or enter in a menu select the hilited item?

2022-08-12 Thread Bob Sneidar via use-livecode
Hi all. Very odd, I thought this worked. 

I am programmatically popping up a menu, then I want to be able to jse the 
arrow keys to traverse the selections available. If I click any of the choices, 
the menuPick handler gets the choice as the first parameter. If however I use 
the spacebar or the enterKey to select a choice, the parameter is empty in 
menuPick! That isn't right, is it??

MacOS 10.15.7 LC 9.6.9 rc1

Bob S


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode