$root.$libs.LIB.$menus.MENU

Parent: $root.$libs.LIB.$menus

Instance notation 

Properties

Object specific
$collectperformancedata This property is only applied when $root.$prefs.$collectperformancedata has the value kCPDmarkedClasses. If true, method execution performance data is collected for all methods in the class kFalse kTrue
$helptext The help text to be displayed for the menu item
$inheritedorder The tabbing order for the first inherited field. Zero means maintain the designed order, from the base class through to this class; other values maintain compatibility with versions earlier than Studio 4, but you are recommended to use zero
$pathname The path to the class in the folder tree
$title The menu title
$users The users who have access to this menu or menu line
Standard $classdata $classtype $componenticon $componenttype $createdate $desc $designtaskname $disksize $enabled $external$helpfile $ident $issupercomponent $moddate $name $parentfolder $showascheckedout $superclass $userinfo $version

Methods

$clearperformancedata $clearperformancedata() Clears the performance data for all methods in the class
$findandreplace $findandreplace(cFind,cReplace [,bIgnoreCase=kTrue, bWholeWord=kFalse, bRegExp=kFalse, bClearLog=kFalse]) Replaces all instances in the class of cFind with cReplace. Returns a row of status information. bClearLog=kTrue clears the log first
$isa $isa(rClass) Returns true if the class or instance is a subclass of the specified class
$makeperformancedatalist $makeperformancedatalist() Returns a list containing the performance data collected for all methods in the class
$makesubclass $makesubclass(cName [,bAddLibPrefixForClib=kFalse]) creates a new subclass of the class, with the specified name (which can be prefixed by a library); bAddLibPrefixForClib controls whether $superclass of the new class has a library name prefix
$open $open([cInstname, posn=kUsermenu, cons-params]) installs menu; cInstname = '*' means Omnis creates instance name; posn is a constant or a 1-based index into the user menus. Passes cons-params to $construct. Returns item reference to menu instance
$openonce $openonce([cInstname,posn=kUsermenu,cons-params]) installs menu, if no instance is open; cInstName = '*' means Omnis creates instance name; posn is a constant or a 1-based index into the user menus. Passes cons-params to $construct if it opens an instance. Returns item reference to menu instance

Children

$cvardefs $cvars $inheritedobjs $insts
$ivardefs $methods $objs