Re: SelectedObjectChanged in LC8... Bug?

2016-06-18 Thread FlexibleLearning.com
Now submitted as Bug #17876

Hugh Senior
FLCo


> Hi Hugh,
> 
> 
> FlexibleLearning.com wrote
> > When the "Browse" tool is selected in the UI, any selected objects are
> > deselected and a SelectedObjectChanged message used to be sent. This is
> no
> > longer the case in LC8.
> >
> > I have also tried trapping for a NewTool message, but this is similarly
> > ignored.
> >
> > Any insights, or is this a bug?
> >
> > Hugh Senior
> > FLCo
> 
> I see the same and I consider this a bug. When a selected object changes
it
> should trigger SelectedObjectChanged, no matter why it changed.
> 
> I see the same for the new subscription model, ideSelectedObjectChanged
> does
> not trigger when changing from edit to browse tool, but ideToolChanged
> does.
> 
> 
> put this into a card script and put 1 field on the card
> -
> on openCard
>subscribeCardToMessage
> end openCard
> 
> on subscribeCardToMessage
>ideSubscribe "ideSelectedObjectChanged"
>ideSubscribe "ideToolChanged"
> end subscribeCardToMessage
> 
> on ideToolChanged
>put "toolChanged" && the milliseconds into field 1
> end ideToolChanged
> 
> on ideSelectedObjectChanged
>put "selectedObjectchanged" && the milliseconds into field 1
> end ideSelectedObjectChanged
> -
> 
> Kind regards
> Bernd


___
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: SelectedObjectChanged in LC8... Bug?

2016-06-16 Thread BNig
Hi Hugh,


FlexibleLearning.com wrote
> When the "Browse" tool is selected in the UI, any selected objects are
> deselected and a SelectedObjectChanged message used to be sent. This is no
> longer the case in LC8.
> 
> I have also tried trapping for a NewTool message, but this is similarly
> ignored.
> 
> Any insights, or is this a bug?
> 
> Hugh Senior
> FLCo

I see the same and I consider this a bug. When a selected object changes it
should trigger SelectedObjectChanged, no matter why it changed.

I see the same for the new subscription model, ideSelectedObjectChanged does
not trigger when changing from edit to browse tool, but ideToolChanged does.


put this into a card script and put 1 field on the card
-
on openCard
   subscribeCardToMessage
end openCard

on subscribeCardToMessage
   ideSubscribe "ideSelectedObjectChanged"
   ideSubscribe "ideToolChanged"
end subscribeCardToMessage

on ideToolChanged
   put "toolChanged" && the milliseconds into field 1
end ideToolChanged

on ideSelectedObjectChanged
   put "selectedObjectchanged" && the milliseconds into field 1
end ideSelectedObjectChanged
-

Kind regards
Bernd


 



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/SelectedObjectChanged-in-LC8-Bug-tp4705763p4705852.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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


SelectedObjectChanged in LC8... Bug?

2016-06-14 Thread FlexibleLearning.com
When the "Browse" tool is selected in the UI, any selected objects are
deselected and a SelectedObjectChanged message used to be sent. This is no
longer the case in LC8.

I have also tried trapping for a NewTool message, but this is similarly
ignored.

Any insights, or is this a bug?

Hugh Senior
FLCo




___
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