A submenu can be a pull-down menu within a menu bar, or a submenu within a pull-down menu or pop-up menu. You can define a static submenu with the
DEFINE SUB-MENU statement. You can use the
CREATE widget statement to create a dynamic submenu. For example: