Hi Richard,
Klaus Major wrote:
I have a couple of palettes and toplevel stacks open here.
Now when I select some text in a field of a non palette stack
and click on a button/list field in a palette, the selection
disappers,
so "the selectedchunk" is empty in that case.
Too bad if you are working on a text-formatting palette window :-)
BUT this does not happen with all palettes (only with the text
formatting thing, of course!)?!
Which palettes does this not happen with?
My "2lzs2" palette for instance.
I found out what causes this behaviour:
If the palette contains ANY field, then the selection disappears!
BUT, I does not really disappear, the selection is just not visible!
If I activate the stack with the original selection again, the
selection becomes visible again.
I've not been able to find a good solution for my own text
formatting palette, so on the recommendation of some of the folks
here I store the current selection when the mouse enters the
palette, then restore the selection when they click. Dumb, I
know, but it gets me through the day.
I already store "the selectedchunk" but "restoring" it again is a
good idea :-)
But does not work, see above :-/
Correction:
Funny enough this (re-selecting "the selectedchunk") does work.
So thank you for this very useful hint!
Regards
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution