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.

...

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#ffffcc

                                                                                                Required                                                                                 

No Format
                                                          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

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

 

  

                                                                          

...