Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

7.31 DEFINE_COM

Note
Note: Usage options

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

7.31.1 DEFINE_COM Parameters

7.31.2 DEFINE_COM Examples


Panel
bgColor
No Format
#ffffcc

                                                                                                Required                                                                                 

                                                          Required                                                                                  

    DEFINE_COM

----CLASS

----------Component

Class

------------------>       

                                *VARIANT                                                                                                                         >-- NAME


                                                       *VARIANT                                                                                                            

                         >-- NAME ---------

Component

name  ------------------

>                                                                                                  >

>                                                                                 

                        >--

SCOPE

--------

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

                                *LOCAL                                                                     *INSTANCE                                                                  *SHARED                                        DEFINE_COM ----CLASS


                                                     *LOCAL                                    
                                                     *INSTANCE                                 
                                                     *SHARED                                   

    DEFINE_COM --CLASS ----------Component

Class

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

>                                                                                                 >

>                                                                                 

                      >--

REFERENCE----

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

                                *STATIC                                                                    *DEFERRED                                                                  *DYNAMIC                                                                                                                 


                                                     *STATIC                                  
                                                     *DEFERRED                                 
                                                     *DYNAMIC                                                                                                            

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

                                                          Optional                                                                                                   >-- DESC

                                                                                                     Optional                                                                                  

                       >-- DESC ---------

Description  ----------------------

>                                                                                                  >-- HELP

----->                                                                                 

                       >-- HELP ---------

Help

text

-------------------------------|

 

  

                                                                          

...