Page 207 - Open Soource Technologies 304.indd
P. 207

Anil Sharma,  Lovely Professional University          Unit 9: Menus and Dialog Boxes





                                 Unit 9:    Menus and Dialog Boxes





                 CONTENTS

                 Objectives
                 Introduction
                 9.1 Designing Menus Using Menu Editor
                     9.1.1 To Display the Menu Editor
                     9.1.2 Using the list Box in the Menu Editor
                     9.1.3 To Create Menu Controls in the Menu Editor
                 9.2 Assigning Access Keys and Shortcut Keys
                     9.2.1 Access keys
                     9.2.2 Shortcut Keys
                 9.3 Separating Menu Items
                     9.3.1 To Create a Separator Bar in the Menu Editor
                 9.4 Creating Pop-up Menus
                     9.4.1 The Flags Argument
                     9.4.2 The Boldcommand Argument
                 9.5 Controlling Menus at Run Time
                     9.5.1 Enabling and Disabling Menu Connands
                     9.5.2 Displaying a Check Mark on a Menu Control
                     9.5.3 Marking  Menu Controls Invisible
                     9.5.4 Adding Menu Controls at Run Time
                 9.6 Modal and Modeless Dialog Boxes
                     9.6.1 To Display a From as a Modal Dialog Box
                     9.6.2 To Display a From as a Modeless Dialog Box
                     9.6.3 To Display a Form as a Child of Another Form
                 9.7 Using Predefined Dialog Boxes
                     9.7.1 Prompting for Input with Input Box
                     9.7.2 Displaying Information with MsgBox
                 9.8 Summary
                 9.9 Keywords
                 9.10 Self Assessment Questions
                 9.11 Review Questions
                 9.12 Further Readings



                                      LOVELY PROFESSIONAL UNIVERSITY                        201
   202   203   204   205   206   207   208   209   210   211   212