Palettes and the selectedObject
Bob Sneidar
bobsneidar at iotecdigital.com
Mon Nov 3 10:40:09 EST 2014
I think if the pallet begins with “rev” then it is treated as a development object, and thus will not affect the focusedObject, but that is off the top of my head from reading all the proper posts on the matter.
Bob S
> On Nov 2, 2014, at 15:25 , Graham Samuel <livfoss at mac.com> wrote:
>
> Another probably dumb question.
>
> If I am keying in a field in an ordinary stack window and I stop to do something on a palette, I had hoped that the focusedObject would remain in the ordinary stack - however it turns out that the focusedObject is now the visible card of the palette. Does this mean that the previous focusedObject is lost and thus I can't use a palette to do an insertion in the field in the ordinary stack? Looks like it. But programs like Apple's Keyboard Viewer do it, and I suppose there must be stuff like that on Windows. The question is, is there a way to do it in LC?
>
> I know I can tell if a field loses focus (e.g. from a focusOut message), but by then of course the focusedObject will be somewhere else, by definition.
>
> Graham
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list