RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
EMenuError Class

EMenuError is the exception class for errors involving menu items.

Pascal
EMenuError = class(Exception);
C++
class EMenuError : public Exception;

Menus

EMenuError is raised if an error occurs while an application is working with menu items. For example, an EMenuError exception occurs if 

An application tries to delete an item from an empty menu 

A menu item attempts to insert itself into it's own list of items 

An application attempts to reference a menu that does not exist 

An application specifies an invalid GroupIndex for a menu item 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!