Re: Re Pulldownmenu button bug on Windows

2022-05-12 Thread Richard Gaskin via use-livecode
Klaus wrote: > Am 11.05.2022 um 20:27 schrieb Richard Gaskin wrote: >> ... make sure the buttons you're using in the menu stack have >> their autoArm set to true, ... > > Hint: > that property "autoarm" did not make it into the inspector somehow, > so you need to do this by script! It's far from

Re: Re Pulldownmenu button bug on Windows

2022-05-12 Thread Klaus major-k via use-livecode
Hi all, > Am 11.05.2022 um 20:27 schrieb Richard Gaskin via use-livecode > : > ... make sure the buttons you're using in the menu stack have their autoArm > set to true, ... Hint: that property "autoarm" did not make it into the inspector somehow, so you need to do this by script! > -- > Ri

Re: Re Pulldownmenu button bug on Windows

2022-05-12 Thread Ben Rubinstein via use-livecode
Ditto that. There should be a "Lifetime contribution" award for Livecode heroes. Ben On 09/05/2022 14:54, Craig Newman via use-livecode wrote: Richard. So glad to have you in this world. Craig On May 7, 2022, at 5:35 PM, Bob Sneidar via use-livecode wrote: Well put. I wonder what the rea

Re: Re Pulldownmenu button bug on Windows

2022-05-11 Thread Bob Sneidar via use-livecode
I'm going to have a look at that Richard. Thanks. Bob S > On May 11, 2022, at 11:27 , Richard Gaskin via use-livecode > wrote: > > Neville Smythe wrote: > > Thanks again Richard > > > > In my case I don’t actually need a workaround. Once I had corrected > > my own error, the only effect of t

Re: Re Pulldownmenu button bug on Windows

2022-05-11 Thread Richard Gaskin via use-livecode
Neville Smythe wrote: > Thanks again Richard > > In my case I don’t actually need a workaround. Once I had corrected > my own error, the only effect of the inconsistent event order is that > on Windows and Linux the colour coding of the selection turns off a > fraction of a second earlier than on

Re Pulldownmenu button bug on Windows

2022-05-10 Thread Neville Smythe via use-livecode
Thanks again Richard In my case I don’t actually need a workaround. Once I had corrected my own error, the only effect of the inconsistent event order is that on Windows and Linux the colour coding of the selection turns off a fraction of a second earlier than on a Mac. I am not so obsessive as

Re: Re Pulldownmenu button bug on Windows

2022-05-10 Thread Richard Gaskin via use-livecode
What a very kind thing of you to say. Thank you. After 30 years as a recipient of so much wisdom and lore shared with me, I've felt compelled to share some of that forward. In recent years most of what I write seems ignored, so I've been spending my time elsewhere. Your encouragement may see m

Re: Re Pulldownmenu button bug on Windows

2022-05-09 Thread Richard Gaskin via use-livecode
Neville Smythe wrote: > My use-case was as follows. I have a pulldownmenu, not an application- > wide menu, which applied to only certain selected items in a field. > On mouseEnter, the selection changed colour, as a visual cue to the > user that these menu items could be applied to the selection

Re: Re Pulldownmenu button bug on Windows

2022-05-09 Thread Craig Newman via use-livecode
Richard. So glad to have you in this world. Craig > On May 7, 2022, at 5:35 PM, Bob Sneidar via use-livecode > wrote: > > Well put. I wonder what the real world effect of the order of messages is, > and whether or not it could be compensated for by send in time? > > Sent from my iPhone > >

Re: Re Pulldownmenu button bug on Windows

2022-05-08 Thread Neville Smythe via use-livecode
Thanks Richard for your wise observations. As cross-platform developers we do indeed need to be aware of differences that will arise in standalones because of GUI differences in the operating systems – different placement of menus, different text string lengths, some features not even being ava

Re: Re Pulldownmenu button bug on Windows

2022-05-07 Thread Bob Sneidar via use-livecode
Well put. I wonder what the real world effect of the order of messages is, and whether or not it could be compensated for by send in time? Sent from my iPhone > On May 7, 2022, at 13:44, Richard Gaskin via use-livecode > wrote: > > It's definitely an inconsistency, but the bug's status as re

Re: Re Pulldownmenu button bug on Windows

2022-05-07 Thread Richard Gaskin via use-livecode
It's definitely an inconsistency, but the bug's status as requiring "EXPERT REVIEW" prompts us to consider why these differences exist, and which, if any, should be considered "wrong" or "right". It may not be as simple as it seems at first glance. Background: -- MetaCard (the engine

Re Pulldownmenu button bug on Windows

2022-05-06 Thread Neville Smythe via use-livecode
The pulldownmenu bug I reported has been confirmed: bug 23693 To remind the reader: On a Mac, when a user select a menu item from a pulldown menu button, the menuPick message is sent first followed by a mouseLeave message (generated as the mo

Re: Pulldownmenu button bug on Windows

2022-04-29 Thread Craig Newman via use-livecode
Hi. I will say again that the format of the forum is so much easier to work with. I made a pulldown and two fields, with these two handlers in the button script: on menuPick pItemName put pItemname into fld 1 end menuPick on mouseleave put random(999) into fld 2 end mouseleave On my Mac