Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
2665d48
New translations debuglogfiles.md (French)
arnaud4d Oct 9, 2025
76544ee
New translations debuglogfiles.md (Spanish)
arnaud4d Oct 9, 2025
a432283
New translations debuglogfiles.md (Japanese)
arnaud4d Oct 9, 2025
31cfdc4
New translations debuglogfiles.md (Portuguese, Brazilian)
arnaud4d Oct 9, 2025
24441f8
New translations overview.md (Japanese)
arnaud4d Oct 9, 2025
ddc5197
New translations openaichatcompletionsparameters.md (Japanese)
arnaud4d Oct 9, 2025
a8f717f
New translations orda-events.md (French)
arnaud4d Oct 9, 2025
f0344cf
New translations orda-events.md (Spanish)
arnaud4d Oct 9, 2025
375b3ad
New translations orda-events.md (Japanese)
arnaud4d Oct 9, 2025
5e373f6
New translations orda-events.md (Portuguese, Brazilian)
arnaud4d Oct 9, 2025
a047b84
New translations debuglogfiles.md (French)
arnaud4d Oct 9, 2025
1a6f357
New translations debuglogfiles.md (Spanish)
arnaud4d Oct 9, 2025
17df84a
New translations debuglogfiles.md (Japanese)
arnaud4d Oct 9, 2025
b9b159b
New translations debuglogfiles.md (Portuguese, Brazilian)
arnaud4d Oct 9, 2025
14d7633
New translations overview.md (Japanese)
arnaud4d Oct 9, 2025
e43c7dc
New translations webserverclass.md (French)
arnaud4d Oct 10, 2025
474bb63
New translations webserverclass.md (Spanish)
arnaud4d Oct 10, 2025
d69c9d7
New translations webserverclass.md (Japanese)
arnaud4d Oct 10, 2025
098a07b
New translations webserverclass.md (Portuguese, Brazilian)
arnaud4d Oct 10, 2025
5d88d5f
New translations forms.md (French)
arnaud4d Oct 10, 2025
0f8614a
New translations forms.md (Spanish)
arnaud4d Oct 10, 2025
e4acf38
New translations forms.md (Japanese)
arnaud4d Oct 10, 2025
b3656e5
New translations forms.md (Portuguese, Brazilian)
arnaud4d Oct 10, 2025
e172b21
New translations updates.md (French)
arnaud4d Oct 10, 2025
a14bb96
New translations updates.md (Spanish)
arnaud4d Oct 10, 2025
d9e84f0
New translations updates.md (Japanese)
arnaud4d Oct 10, 2025
44d327d
New translations updates.md (Portuguese, Brazilian)
arnaud4d Oct 10, 2025
5505fbe
New translations architecture.md (French)
arnaud4d Oct 10, 2025
4622c24
New translations architecture.md (Spanish)
arnaud4d Oct 10, 2025
ba91eef
New translations architecture.md (Japanese)
arnaud4d Oct 10, 2025
5f9ea3f
New translations architecture.md (Portuguese, Brazilian)
arnaud4d Oct 10, 2025
7508b35
New translations http-request-handler.md (French)
arnaud4d Oct 10, 2025
79f836d
New translations http-request-handler.md (Spanish)
arnaud4d Oct 10, 2025
28a351d
New translations http-request-handler.md (Japanese)
arnaud4d Oct 10, 2025
6f70cab
New translations http-request-handler.md (Portuguese, Brazilian)
arnaud4d Oct 10, 2025
33e3644
New translations overview.md (Japanese)
arnaud4d Oct 10, 2025
8c4e871
New translations http-rules.md (French)
arnaud4d Oct 10, 2025
3e8e49d
New translations winui-form.png (French)
arnaud4d Oct 10, 2025
e3b3efc
New translations winui-setting.png (French)
arnaud4d Oct 10, 2025
370a11e
New translations fluentui-form.png (French)
arnaud4d Oct 10, 2025
1644602
New translations fluentui-setting.png (French)
arnaud4d Oct 10, 2025
46c00bb
New translations http-rules.md (Spanish)
arnaud4d Oct 10, 2025
d65c0d6
New translations winui-form.png (Spanish)
arnaud4d Oct 10, 2025
825112d
New translations winui-setting.png (Spanish)
arnaud4d Oct 10, 2025
6ff78f2
New translations fluentui-form.png (Spanish)
arnaud4d Oct 10, 2025
c388880
New translations fluentui-setting.png (Spanish)
arnaud4d Oct 10, 2025
869decf
New translations http-rules.md (Japanese)
arnaud4d Oct 10, 2025
e8d21cd
New translations winui-form.png (Japanese)
arnaud4d Oct 10, 2025
d236db7
New translations winui-setting.png (Japanese)
arnaud4d Oct 10, 2025
5c22598
New translations fluentui-form.png (Japanese)
arnaud4d Oct 10, 2025
a4993ad
New translations fluentui-setting.png (Japanese)
arnaud4d Oct 10, 2025
fc30963
New translations http-rules.md (Portuguese, Brazilian)
arnaud4d Oct 10, 2025
d4bb5cc
New translations winui-form.png (Portuguese, Brazilian)
arnaud4d Oct 10, 2025
8ae7c8c
New translations winui-setting.png (Portuguese, Brazilian)
arnaud4d Oct 10, 2025
4562cc8
New translations fluentui-form.png (Portuguese, Brazilian)
arnaud4d Oct 10, 2025
71e4554
New translations fluentui-setting.png (Portuguese, Brazilian)
arnaud4d Oct 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Ofrecen las siguientes propiedades y funciones:
| [<!-- INCLUDE #WebServerClass.CORSSettings.Syntax -->](#corssettings)<br/><!-- INCLUDE #WebServerClass.CORSSettings.Summary --> |
| [<!-- INCLUDE #WebServerClass.debugLog.Syntax -->](#debuglog)<br/><!-- INCLUDE #WebServerClass.debugLog.Summary --> |
| [<!-- INCLUDE #WebServerClass.defaultHomepage.Syntax -->](#defaulthomepage)<br/><!-- INCLUDE #WebServerClass.defaultHomepage.Summary --> |
| [<!-- INCLUDE #WebServerClass.handlers.Syntax -->](#handlers)<br/><!-- INCLUDE #WebServerClass.handlers.Summary --> |
| [<!-- INCLUDE #WebServerClass.HSTSEnabled.Syntax -->](#hstsenabled)<br/><!-- INCLUDE #WebServerClass.HSTSEnabled.Summary --> |
| [<!-- INCLUDE #WebServerClass.HSTSMaxAge.Syntax -->](#hstsmaxage)<br/><!-- INCLUDE #WebServerClass.HSTSMaxAge.Summary --> |
| [<!-- INCLUDE #WebServerClass.HTTPCompressionLevel.Syntax -->](#httpcompressionlevel)<br/><!-- INCLUDE #WebServerClass.HTTPCompressionLevel.Summary --> |
Expand All @@ -46,6 +47,7 @@ Ofrecen las siguientes propiedades y funciones:
| [<!-- INCLUDE #WebServerClass.openSSLVersion.Syntax -->](#opensslversion)<br/><!-- INCLUDE #WebServerClass.openSSLVersion.Summary --> |
| [<!-- INCLUDE #WebServerClass.perfectForwardSecrecy.Syntax -->](#perfectforwardsecrecy)<br/><!-- INCLUDE #WebServerClass.perfectForwardSecrecy.Summary --> |
| [<!-- INCLUDE #WebServerClass.rootFolder.Syntax -->](#rootfolder)<br/><!-- INCLUDE #WebServerClass.rootFolder.Summary --> |
| [<!-- INCLUDE #WebServerClass.rules.Syntax -->](#rules)<br/><!-- INCLUDE #WebServerClass.rules.Summary --> |
| [<!-- INCLUDE #WebServerClass.scalableSession.Syntax -->](#scalablesession)<br/><!-- INCLUDE #WebServerClass.scalableSession.Summary --> |
| [<!-- INCLUDE #WebServerClass.sessionCookieDomain.Syntax -->](#sessioncookiedomain)<br/><!-- INCLUDE #WebServerClass.sessionCookieDomain.Summary --> |
| [<!-- INCLUDE #WebServerClass.sessionCookieName.Syntax -->](#sessioncookiename)<br/><!-- INCLUDE #WebServerClass.sessionCookieName.Summary --> |
Expand Down Expand Up @@ -169,6 +171,26 @@ El <!-- REF #WebServerClass.defaultHomepage.Summary -->nombre de la página de i

<!-- END REF -->

<!-- REF WebServerClass.handlers.Desc -->

## .handlers

<details><summary>Historia</summary>

| Lanzamiento | Modificaciones |
| ----------- | -------------- |
| 21 | Añadidos |

</details>

<!-- REF #WebServerClass.handlers.Syntax -->**.handlers** : Collection<!-- END REF -->

*Propiedad de sólo lectura*

A <!-- REF #WebServerClass.handlers.Summary -->collection of custom HTTP handler objects<!-- END REF -->. An HTTP handler object contains a listened URL pattern, a handled verb, and the code to be called. HTTP handlers can be defined through a HTTPHandlers.json file or the *settings* parameter of the [`.start()`](#start) function. For more information, please refer to the [HTTP Request handler](../WebServer/http-request-handler.md) page.

<!-- END REF -->

<!-- REF WebServerClass.HSTSEnabled.Desc -->

## .HSTSEnabled
Expand Down Expand Up @@ -457,6 +479,26 @@ La <!-- REF #WebServerClass.rootFolder.Summary -->ruta de la carpeta raíz del s

<!-- END REF -->

<!-- REF WebServerClass.rules.Desc -->

## .rules

<details><summary>Historia</summary>

| Lanzamiento | Modificaciones |
| ----------- | -------------- |
| 21 | Añadidos |

</details>

<!-- REF #WebServerClass.rules.Syntax -->**.rules** : Collection<!-- END REF -->

*Propiedad de sólo lectura*

A <!-- REF #WebServerClass.rules.Summary -->collection of rule objects currently handled to customize HTTP headers<!-- END REF -->. A rule object contains a "regexPattern" property, as well as an action name with a value. HTTP rules can be defined through a HTTPRules.json file or the *settings* parameter of the [`.start()`](#start) function. For more information, please refer to the [HTTP Rules](../WebServer/http-rules.md) page.

<!-- END REF -->

<!-- REF WebServerClass.scalableSession.Desc -->

## .scalableSession
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ Como iniciar este historial:
- Utilice el comando `SET DATABASE PARAMETER`:

```4d
SET DATABASE PARAMETER(TCPUDP log; 1)
SET DATABASE PARAMETER(TCPUDP log recording; 1)
```

- Cómo activar el archivo
Expand Down
67 changes: 67 additions & 0 deletions i18n/es/docusaurus-plugin-content-docs/current/FormEditor/forms.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,73 @@ No hay restricciones en el número de páginas que puede tener un formulario. El

Un formulario multipáginas tiene una página de fondo y varias páginas de visualización. Los objetos que se colocan en la página de fondo pueden ser visibles en todas las páginas de visualización, pero sólo se pueden seleccionar y editar en la página de fondo. En los formularios multipágina, debe colocar su paleta de botones en la página de fondo. También es necesario incluir uno o más objetos en la página de fondo que ofrezcan las herramientas de navegación para el usuario.

## Fluent UI rendering (Developer Preview)

On Windows, 4D supports **Fluent UI** form rendering, Microsoft's modern graphical user interface design, based upon **WinUI 3** technology. **WinUI 3** is the foundation of the Windows App SDK and represents the upcoming Windows graphical interfaces.

:::caution Vista previa para desarrolladores

Fluent UI support is currently in the Developer Preview phase. No debe utilizarse en producción.

:::

:::info macOS

This feature can only be used on Windows. On macOS, it is ignored.

:::

### Fluent UI rendering availability

The Fluent UI rendering is available in the following execution environments only:

- Windows with [Windows App SDK](https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/downloads) version 1.7.3 installed (you need to install this SDK on any Windows machine displaying your forms).
- Fusionado aplicación 4D [autónomo](../Desktop/building.md#build-stand-alone-application) o [cliente](../Desktop/building.md#build-client-application)
- [**Test application** feature](../Menus/bars.md#previewing-menu-bars) available from the Run menu.

:::note

If the Windows App SDK is not properly installed, 4D will render all your forms in classic mode with no error.

:::

### Enabling the Fluent UI rendering

You can enable the Fluent UI rendering mode at the application level or at the form level. Form setting has priority over application setting.

#### Application setting

Check the **Use Fluent UI on Windows** option in the "Interface" page of the Settings dialog box.

![](../assets/en/FormObjects/fluentui-setting.png)

In this case, the Fluent UI rendering mode will be used by default on Windows for all forms.

#### Form setting

Each form can define its own rendering via the **Widget appearance** property. Las siguientes opciones están disponibles:

- **Inherited**: inherits the global application setting (default),
- **Classic**: uses the classic Windows style,
- **Fluent UI**: enables the modern rendering based on Fluent UI. <br/>
![](../assets/en/FormObjects/fluentui-form.png)

The corresponding [JSON form property](./properties_JSONref.md) is `fluentUI` with value undefined (i.e. inherited, default value), "true" or "false".

### Features and limitations

Fluent UI rendering offers modern and attractive controls, support of dark/light system themes, smoother rendering optimized for high-resolution displays, and consistent user experience aligned with recent Microsoft applications.

When using 4D forms with Fluent UI rendering, you need to pay attention to the following points:

- The `FORM Window theme` command returns the actual display theme of the current form. Possible values: "Classic" or "FluentUI". If there is no current form or the command is called on macOS, and empty string is returned.
- If [`GET STYLE SHEET INFO`](../commands-legacy/get-style-sheet-info.md) is called in the context of a form, the information returned relates to the current appearance of the form (Classic or FluentUI). If the command is called outside the context of a form, the information returned relates to the [global project settings](#application-setting).
- [`SET MENU ITEM STYLE`](../commands-legacy/set-menu-item-style.md) with `Underline` *itemStyle* parameter is not supported (ignored) for pop up menus.
- A focus ring can be added to picture and text [inputs](../FormObjects/input_overview.md).
- [Stepper](../FormObjects/stepper.md) form object does not support [double-click event](../Events/onDoubleClicked.md).
- [Circle buttons](../FormObjects/button_overview.md#circle) are supported (similar as macOS).
- The [`WA ZOOM IN`](../commands-legacy/wa-zoom-in.md) / [`WA ZOOM OUT`](../commands-legacy/wa-zoom-out.md) commands are not supported in Web areas with system rendering engine.

## Formularios heredados

Los formularios 4D pueden utilizar y ser utilizados como "formularios heredados", lo que significa que todos los objetos de *Formulario A* pueden ser utilizados en *Formulario B*. En este caso, *Formulario B* "hereda" los objetos de *Formulario A*.
Expand Down
15 changes: 12 additions & 3 deletions i18n/es/docusaurus-plugin-content-docs/current/Notes/updates.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,28 @@ Lea [**Novedades en 4D 21**](https://blog.4d.com/en-whats-new-in-4d-21/), la ent

#### Lo más destacado

- Support of **AI Vector Searches** in the [`query()`](../API/DataClassClass.md#query-by-vector-similarity) function and in the [`$filter`](../REST/$filter.md#vector-similarity) REST API.
- Support of AI Vector Searches in the [`query()`](../API/DataClassClass.md#query-by-vector-similarity) function and in the [`$filter`](../REST/$filter.md#vector-similarity) REST API.
- Support of TLS encryption for the [4D.TCPConnection](../API/TCPConnectionClass.md#4dtcpconnectionnew) class.
- Servidor Web:
- new [HTTP rules](../WebServer/http-rules.md) to customize HTTP response headers,
- ability to set [HTTP request handlers](../WebServer/http-request-handler.md) using a `handlers` property in the *settings* parameter of the Web server [`start()`](../API/WebServerClass.md#start) function,
- the Web server object contains new [`rules`](../API/WebServerClass.md#rules) and [`handlers`](../API/WebServerClass.md#handlers) properties.
- New [ORDA events on data](../ORDA/orda-events.md): validateSave, saving, afterSave, validateDrop, dropping, afterDrop.
- New option allowing to use certificates from Windows Certificate Store instead of a local certificates folder in [`HTTPRequest`](../API/HTTPRequestClass.md#4dhttprequestnew) and [`HTTPAgent`](../API/HTTPAgentClass.md#4dhttpagentnew) classes.
- Cliente/servidor:
- use Qodly pages in Web areas and [share the remote client session](../Desktop/clientServer.md#sharing-the-session-with-qodly-pages-in-web-areas).
- the [QUIC network layer](../settings/client-server.md#network-layer) has been enhanced to handle network interface changes transparently, for example when you travel with your laptop. See [this blog post](https://blog.4d.com/work-and-move-with-quic-and-network-switching).
- You can display Qodly pages in Web areas and [share the remote client session](../Desktop/clientServer.md#sharing-the-session-with-qodly-pages-in-web-areas).
- The [QUIC network layer](../settings/client-server.md#network-layer) has been enhanced to handle network interface changes transparently, for example when you travel with your laptop. See [this blog post](https://blog.4d.com/work-and-move-with-quic-and-network-switching).
- You can now [create components directly from the host project](../Extensions/develop-components.md#creating-components) and [edit their code from a dedicated tab](../Extensions/develop-components.md#editing-all-component-code) in the 4D Explorer without leaving or restarting the project.
- The 4D product activation step has been simplified and automated during [sign-in](../GettingStarted/Installation.md#sign-in).
- 4D AIKit component: new features to [invoke a specific tool automatically](../aikit/Classes/OpenAIChatHelper.md#registertool) and [specify a response format](../aikit/Classes/OpenAIChatCompletionsParameters.md#response-format).
- Lenguaje 4D:
- New "trim" commands to remove leading and trailing spaces from a string: [`Trim`](../commands/trim.md), [`Trim start`](../commands/trim-start.md), and [`Trim end`](../commands/trim-end.md).
- Los comandos [`Num`](../commands/num.md) y [`String`](../commands/string.md) han sido actualizados para soportar conversiones en diferentes bases (radix).

#### Vista previa para desarrolladores

[**Fluent UI** rendering for 4D forms](../FormEditor/forms.md#fluent-ui-rendering-developer-preview) is proposed in Developer Preview during the beta test program.

#### Cambios de comportamiento

:::caution Index rebuild
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ ORDA events are functions that are automatically invoked by ORDA each time entit

No se puede activar directamente la ejecución de la función de evento. Events are called automatically by ORDA based on user actions or operations performed through code on entities and their attributes.

:::tip Entrada de blog relacionada

[ORDA – Handle an event-driven logic during data persistence actions](https://blog.4d.com/orda-handle-an-event-driven-logic-during-data-persistence-actions)

:::

:::info Nota de compatibilidad

ORDA events in the datastore are equivalent to triggers in the 4D database. However, actions triggered at the 4D database level using the 4D classic language commands or standard actions do not trigger ORDA events.
Expand Down Expand Up @@ -112,12 +118,6 @@ When an error occurs in an event, the other events are stopped at the first rais

## Event function description

:::tip Entrada de blog relacionada

[ORDA – Handle an event-driven logic during data persistence actions](https://blog.4d.com/orda-handle-an-event-driven-logic-during-data-persistence-actions)

:::

### `Function event touched`

#### Sintaxis
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ Este archivo de texto también puede contener llaves de configuración, en parti
| filters.json | Filtros definidos | JSON |
| dependencies.json | Nombres de [componentes a cargar](components.md) en el proyecto | JSON |
| HTTPHandlers.json | Personalizado [HTTP request handlers](../WebServer/http-request-handler.md) definido para el servidor web | JSON |
| HTTPRules.json | Custom [HTTP response headers](../WebServer/http-responses.md) defined for the web server | JSON |
| styleSheets.css | Hojas de estilo CSS | CSS |
| styleSheets_mac.css | Hojas de estilo css de Mac (a partir de una base binaria convertida) | CSS |
| styleSheets_windows.css | Hojas de estilo css en Windows (a partir de una base binaria convertida) | CSS |
Expand Down
Loading
Loading