A
Andrej
hi,
i have a problem with reenabling the toolbars.
on my onload event i disable the toolbars:
var objCommandBars = Application.ActiveWindow.CommandBars;
objCommandBars("Menu Bar").Enabled = false;
objCommandBars("Standard").Enabled = false;
objCommandBars("Formatting").Enabled = false;
Application.ActiveWindow.Close(true);
if i open infopath and want to design a new form there are no toolbats there.
what is wrong?
thanks
i put a button to close the form:
var objCommandBars = Application.ActiveWindow.CommandBars;
objCommandBars("Menu Bar").Enabled = true;
objCommandBars("Standard").Enabled = true;
objCommandBars("Formatting").Enabled = true;
i have a problem with reenabling the toolbars.
on my onload event i disable the toolbars:
var objCommandBars = Application.ActiveWindow.CommandBars;
objCommandBars("Menu Bar").Enabled = false;
objCommandBars("Standard").Enabled = false;
objCommandBars("Formatting").Enabled = false;
Application.ActiveWindow.Close(true);
if i open infopath and want to design a new form there are no toolbats there.
what is wrong?
thanks
i put a button to close the form:
var objCommandBars = Application.ActiveWindow.CommandBars;
objCommandBars("Menu Bar").Enabled = true;
objCommandBars("Standard").Enabled = true;
objCommandBars("Formatting").Enabled = true;