Using @hideif

It needs to be:

@hideif:$glob:MyToolbarVar

(Removed space before the $ and "=1" from the end.)