Here is the simplified version of the problem:
THIS: {1,2,##&[],4,5} RETURNS: {1,2,4,5}
AND THIS: x=##&[]; {1,2,Dynamic[x],4,5} RETURNS: {1,2,StandardForm,4,5}
I want to hide"StandardForm"
when the dynamic variable"x"
is equal to"##&[]"
.
Here is the full version of the code I am working with:
Column[{
Panel["Panel 1"],
Panel["Panel 2"],
Annotation[Panel["Panel 3"], Panel["Extra Panel"], "Mouse"],
Dynamic[MouseAnnotation[## &[]]],
Panel["Panel 4"]
}, Spacings -> {0, 0}]
Here I want to create a column of 4 equally spaced panels where if I mouse over panel 3, an extra panel appears in between panels 3 and 4.
If I use"##&[]"
it returns"Null"
in between panels 3 and 4. If I use""
instead, it returns a blank space in between panels 3 and 4, but the space is larger than the rest found in the column.
Is there a solution or work around to this problem?