8 7 DEFINE_PTY

LANSA Technical

8.7 DEFINE_PTY

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

8.7.1 DEFINE_PTY Parameters

8.7.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 -----------|