MenuDraw                                                                                            Statement

 

MENUDRAW menuName as string

 

Description

To draw the specified menu across the top of the display screen. Menus are defined using the menu editor.

 

Example

If not GetEventType()=NSBKeyorButton then Exit Sub

If asc(getkey())=5 then

  Menudraw "main"

  SetEventHandled

End if