How to disable the Find menu command?



You need to edit your "UserMain" script (go to "Behavior and Scripting" -> "User Scripts").
Look for "procedure OnDisplayWindow(WindowName: String);" ;
and add this command to achieve your goal:
SetUIProp("Find1", "Visible", "False");


Example:
procedure OnDisplayWindow(WindowName: String);
begin
SetUIProp("Find1", "Visible", "False");
end;


Compile your publication and that's all.

If you need help or more samples, feel free to ask in the user forum.

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki