In KiXGui it would be

$frm.visible=0 ; Hides form

$frm.visible=1 ; Shows form