WINDEV Concepts

Part 2: Development environment 71 • Use a specific analysis : The internal component accesses its own data files. The internal component and the project use different execution contexts. This is the default mode if the component uses an analysis. In this case, the analysis used by the internal component must be specified. You can also create a new analysis directly. This analysis will be associated with the internal component. 6. Validate the new internal component. At any moment, you can: • Change the characteristics of the internal component via its description window. • Handle the internal component and its elements. Tip : An internal component contains no code for declaring the global variables. A set of procedures can be used to initialize the internal component. 2.2 Internal component and analysis: total autonomy An internal component can be linked to its own analysis. In this case, the project that hosts the internal component can have multiple analyses: • the analysis of the project. • the analysis of the internal component(s). This analysis is defined when creating the internal component. It can also be selected from the internal component description window. The elements generated by the RAD for the internal component will be saved in the internal component directory. If changes are made to the analysis of the internal component, the RAD will prompt you to generate the elements these changes applied to. 3 Sharing internal components (via SCM) The internal components can be shared between multiple projects via the SCM. To share an internal component via the SCM, the project containing the internal component must be in the SCM. You can: • create the internal component from a project located in the SCM. The internal component will be automatically saved in the SCM. • import a project containing one or more internal components into the SCM. The internal components will be automatically included in the SCM.

RkJQdWJsaXNoZXIy NDQ0OA==