From: Szabolcs Horvát on
Hello MathGroup,

I'm using a palette to display some information dynamically. It is
created using CreatePalette[]. What is the correct/easiest way to make
the palette inherit the original notebook's (from where CreatePalette[]
is evaluated) kernel in case the notebook was not using the default kernel?

-- Szabolcs

From: John Fultz on
On Sat, 31 Jul 2010 02:42:25 -0400 (EDT), Szabolcs Horv=E1t wrote:
> Hello MathGroup,
>
> I'm using a palette to display some information dynamically. It is
> created using CreatePalette[]. What is the correct/easiest way to make
> the palette inherit the original notebook's (from where CreatePalette[]
> is evaluated) kernel in case the notebook was not using the default
> kernel?
>
> -- Szabolcs

CreatePalette[..., Evaluator->CurrentValue[EvaluationNotebook[],Evaluator]]

Sincerely,

John Fultz
jfultz(a)wolfram.com
User Interface Group
Wolfram Research, Inc.