On 11/2/2023 11:20 AM, Klaus major-k via use-livecode wrote:
Hi friends,

before I post an enhancment request to the "Qualtiy Center", I wanted to hear 
your opinions about this.

Wouldn't it be great if ALL widgets would receive and handle at least a mouseup 
(and mousedown) meassage?
I have always wondered why that is not the case.

This way scripting would be a lot easier for us and we do not have to remember 
the many different messages
the widgets have. Yes, they can be seen in the script editor on the left side, 
nevertheless... :-)

Examples:
PolyGrid -> cellclick
PolyList -> itemclick
Segmentedcontrol -> hilitechanged
Switch Button -> hilitechanged
Radial Slider -> valueChanged
Navigation Bar -> hilitechanged
Line Graph -> receives NO message at all?


It seems to me that for most of these (not sure about Line Graph) that 'selectionChanged' is the more applicable 'standard' message than a mouseUp or mouseDown, although I would wholly agree that every (or nearly every) widget should pass mouseUp and mouseDown if they do not.
_______________________________________________
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

Reply via email to