Inserting existing macros

Previous chapterNext chapter Show allShow all    Hide allHide all

In order to insert existing macros into another project do the following:

  1. In the VBA Editor export all needed forms and modules and import them in the other project.
  2. Event dependent macros, in ModulElement.bas, are not displayed in the macro browser at the moment. So this macros have to be created in the macro browser.

    The easiest way is to use the name of the existing macro.

    e.g.
    LeftClickUp_ DateSet2
    LeftClickUp_ DateSet4
    LeftClickUp_ TimeSet
    Draw_ Date2
    Draw_ Date4
    Draw_ Time

  3. On creating the macros the control system generates procedures with the same name as the existing macros. You have to delete these generated procedures.

    Now you have to link the macros to dynamic elements as usual.