Language Reference Guide : System Classes : MenuField Class : SetToDefault Method
 
Share this page          
SetToDefault Method
The SetToDefault method sets the menu field to its default value.
This method has the following syntax:
MenuField.SetToDefault()
This method resets the HasDataChanged attribute to FALSE. If the field is a MenuGroup, all the component fields are set to their default value as well.
To set all menu fields in the frame to their default values, use the following syntax:
CurFrame.StartMenu.SetToDefault()