Home | Sign in | English EN
  • Overview
  • How to?
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
Multi-product external components
The concept of external component makes all the development teams happy. The ability to re-use a secure code is very beneficial.
The possible differences between the different targets can be automatically taken into account: Windows .Net, Internet-Intranet, mobile applications, ...
Your external components can contain windows or pages and they can be used in a WINDEV, WEBDEV and WINDEV Mobile project.
The possible differences found in the code or in the UI are automatically taken into account.
When used, the external component will adapt to the target.
How to?
You have the ability to develop projects common to the different products: WINDEV, WEBDEV and WINDEV Mobile. These projects can contain WINDEV windows, WINDEV Mobile windows and/or WEBDEV pages.
Creating a multi-product external component from a common project is very easy:
  1. Create the different elements of your component (window, pages, ...).
    Reminder: The COMPILE IF or IF ExecutionTarget statements make processes usable regardless of the environment, platform or type of generation. You can also use InComponentMode, InJavaMode, InPHPMode, InWebMode, etc.
  2. On the "Project" tab, in the "Project configuration" group, expand "New configuration" and select "External component (WDK)".
  3. In the configuration creation wizard:
    • In the "Compatibility of the configuration" step, specify:
      • Whether the component must only be used by an application developed with the current product (a WINDEV component that can only be used by a WINDEV application for example).
      • Whether the component can be used by all the products (a WINDEV component that can be used by a WINDEV, WINDEV Mobile or WEBDEV application).
      • The platforms for which the compilation errors must be enabled.
    • Select the elements that will be included in the project configuration. You can include all elements required by your component (windows, pages, procedures, ...).
    • Select (if necessary) the internal components to include.
  4. The external component creation wizard starts. Specify the elements required by your component. For more details, see Creating a component.
Minimum version required
  • Version 9
This page is also available for…
Click [Add] to post a comment