8 3 BEGIN_COM

LANSA Technical

8.3 BEGIN_COM

BEGIN_COM begins the component definition. It has an associated END_COM statement which ends the component definition.

This command is inserted automatically by the editor when you create a new component.

If you change the default values for any of the properties of the component, these are shown in the component definition. For example if you change the Visible property to False in a form you are editing, the BEGIN_COM statement will show this:

BEGIN_COM VISIBLE(False)

 

Normally you change the component's properties using the Component view, but you can also type them in the Source view.

Also See

8.3.1 BEGIN_COM Parameters 

8.3.2 BEGIN_COM Examples

8.8 END_COM

 

                                                           Optional       

                                                                          

    BEGIN_COM  --- Property Values ------------------------------->       

                                                                          

                                                                          

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

                                                                          

                                                                          

               >-- PUBLIC ----- name ------------------------------>      

                                                                          

                                                                          

               >-- PROTECT ---- name ------------------------------>      

                                                                          

                                                                          

               >-- PRIVATE ---- name ------------------------------>      

                                                                          

                                                                          

               >-- DEFAULTPTY—- name ------------------------------>      

                                                                          

                                                                          

               >-- OPTIONS—---- *FINAL----------------------------->      

                                *ABSTRACT                                 

                                                                          

               >-- ROLE ------- Help text -------------------------|