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

Event Driven Programming






































                                      Figure 2.6: ActiveX-6;Dialog Box Showing the Type of Project to Open.
                          Change the name property of form to frmTestActivex and caption to “Test form”
                          Include the following controls on the form:

                              Object                   Property            Setting

                              Command button           Name                CmdShowSelVal
                                                       Caption             Show Selected Value in
                                                                           ActiveX Exe
                              Command button           Name                cmdCallActivex
                                                       Caption             Show Form From
                                                                           ActiveX Exe
                              Option button            Name                opt Numbers
                                                       Caption             Choose Numbers in
                                                                           ActiveX Exe

                              Option button            Name                OptAlphabets
                                                       Caption             Choose Alphabets in
                                                                           ActiveX Exe








                          18                     LOVELY PROFESSIONAL UNIVERSITY
   19   20   21   22   23   24   25   26   27   28   29