AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / Desarrollar una aplicación o un sitio web / RAD / 
  • Overview
  • Structure of the files
  • MDE files
  • Calling the MDE file from a MDL file
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Advertencia
A partir de la versión 2024, está funcionalidad no estará disponible.
Overview
Attention: in version 12, RAD has been completely overhauled. The method explained in this page is kept for backward compatibility. For more details, see New RAD patterns.
The RAD pattern files (MDL files) are used to describe:
  • The different options displayed or grayed in the wizard for window creation.
  • The files required to operate the window (for example, the RAD classes that will be copied into the generation directory of the window).
  • The groups of controls that will be found in the window.
  • The code of window and the code of local or global procedures.
  • The characteristics of the different areas where the controls will be displayed. Each control area is associated with a button area and with an area of browse buttons. For each button area, the pattern contains the description of buttons (size, name, caption, ...) and their code.
This information is presented in the script according to a defined pattern structure.
Structure of the files
The structure of the MDL files can be divided into two sections:
  1. Pattern description
    • Characteristics of the pattern displayed in the wizard
    • Characteristics of the pattern required in programing (classes, groups of controls, ...)
    • The code of the window and the code of the local or global procedures
  2. Window description
    • Characteristics of the control areas (repeated for each control area)
    • Characteristics of the button areas (repeated for each button area)
    • Characteristics of a button (repeated for each button)
    • Code of the button
MDE files
The MDE files are MDL files used to share common scripts between several MDL files. The content of the MDE file is identical to the MDL file. However, the code is found once only in the MDE file. The MDL files that use this code will only have to perform a simple call.

Calling the MDE file from a MDL file

The following syntax must be used:
%extern <Nom du fichier .MDE>

Example:
%extern Declare1fichier.mde
Remark: In the MDE file, it is advisable to end the file with a carriage return (an empty line) to avoid any problems when inserting the code into the MDL file.
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/09/2024

Señalar un error o enviar una sugerencia | Ayuda local