Language Reference Guide : 4. System Classes : MenuGroup Class : FieldByName Method
 
Share this page                  
FieldByName Method
The FieldByName method finds a menu field object that matches the specified name.
This method has the following syntax:
menufield = MenuGroup.FieldByName(name = varchar(256))
The FieldByName method checks through the list of menu fields contained in the MenuGroup object to find a field with a name that matches the name you specify.
This method has the following parameter:
name
Specifies the field name, which you must specify in lowercase without dot notation. If there is no field with a matching name, the method returns null.