8 4 DEFINE_COM

LANSA Technical

8.4 DEFINE_COM

This command is inserted automatically as you drag components to be included in the component being edited.

DEFINE_COM defines instances of other components to be included in the component being edited.

In addition to the class and the name of the component, this command shows all property values for which default values have been overridden.

In Functions that are running as *HEAVYUSAGE, the state of referenced components is retained between invocations. If the state is not to be retained, use components that are *DYNAMIC.

Also See

8.4.1 DEFINE_COM Parameters

8.4.2 DEFINE_COM Examples

 

                                                           Required       

                                                                          

    DEFINE_COM ----CLASS -------Component Class ------------------>       

                                *VARIANT                                  

                                                                          

               >-- NAME ------- Component name  ------------------>       

                                                                          

               >-- SCOPE ------ *DEFAULT-------------------------->       

                                *LOCAL                                    

                                *INSTANCE                                 

                                *SHARED                                   

    DEFINE_COM ----CLASS -------Component Class ------------------>       

                                                                          

               >-- REFERENCE--- *DEFAULT-------------------------->       

                                *STATIC                                   

                                *DEFERRED                                 

                                *DYNAMIC                                  

                                                                          

   -------------------------------------------------------------------    

                                                          Optional        

                                                                          

               >-- DESC ------- Description  --------------------->       

                                                                          

               >-- HELP ------- Help text ---------------------------|