Forum Stats

  • 3,759,900 Users
  • 2,251,613 Discussions
  • 7,870,859 Comments

Discussions

Program Units in Designer

User_0QUXC
User_0QUXC Member Posts: 10 Green Ribbon

Where in designer do I find that will be generated as Program units in Forms? Designer version is 10.1.2.0.2 and nForms version is 10.1.2.0.2 

/Thanks Sabina

Best Answer

  • Zlatko Sirotic
    Zlatko Sirotic Member Posts: 2,134 Gold Trophy
    edited Sep 28, 2021 1:22PM Accepted Answer

    Designer for Module, Module Component and Item has the (last) branch Application Logic, which has sub-branches Events and Named Routines.

    For the Events sub-branch, it is important to put the program code at the appropriate level - Module / Module Component / Item - because in the Forms module we get the Forms level trigger / block level trigger / item level trigger.

    Unlike Events, it doesn't matter at what level in Designer we create Named Routines - they are always created as Program Units in the Forms module. So perhaps it makes the most sense to define Named Routines for Module.

Answers

  • Zlatko Sirotic
    Zlatko Sirotic Member Posts: 2,134 Gold Trophy
    edited Sep 28, 2021 1:22PM Accepted Answer

    Designer for Module, Module Component and Item has the (last) branch Application Logic, which has sub-branches Events and Named Routines.

    For the Events sub-branch, it is important to put the program code at the appropriate level - Module / Module Component / Item - because in the Forms module we get the Forms level trigger / block level trigger / item level trigger.

    Unlike Events, it doesn't matter at what level in Designer we create Named Routines - they are always created as Program Units in the Forms module. So perhaps it makes the most sense to define Named Routines for Module.