7.34 DEFINE_PTY

Note: Usage options

The DEFINE_PTY command defines a user-defined property.

Custom specified properties are typically used to pass information from a component to an owner component in multi-form applications or from a reusable part to an owner form.

Also See

7.34.1 DEFINE_PTY Parameters

7.34.2 DEFINE_PTY Examples


                                                                                                           Required                                                                               

    DEFINE_PTY ----NAME -------Property Name ------------------------------>       

                                                                                                                                                    

                       >-- SET --------- *NONE  -------------------------------------->       
                                              -- *AUTO -------- Member Component Name---|       
                                              -- *REFERENCE -- #Variable ---------------------|       
                                              -- Property Routine ------------------------------|                                                                                 

                      >-- GET ------- *NONE  ---------------------------------------->       
                                           -- *AUTO ---------- Member Component Name----|       
                                           -- *REFERENCE - #Variable -------------------------|       
                                           -- *COLLECTION - #CollectionVariable -------------|       
                                           -- Property Routine ---------------------------------|                                                                                 

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

                                                                                                             Optional                                                                                      

                    >-- DESC ------- Description of property ------------------------>                                                                                 

                   >-- ACCESS  ---- *PUBLIC/*PROTECT/*PRIVATE ------------------->                                                                             

                   >-- HELP -------- Help text for property ---------------------------|