> For the complete documentation index, see [llms.txt](https://doc.velneo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.velneo.com/23/velneo-vtutor/tutores-de-controles/tutor-de-controles-svg.md).

# Tutor de controles SVG

En este tutor veremos un ejemplo de uso del control de formularios [control SVG](/23/velneo-vdevelop/proyectos-objetos-y-editores/proyecto-de-aplicacion/control-svg.md).

Se trata de un objeto con el que podremos crear controles tipo botón, interruptor, etc. para su posterior uso en [formularios](/23/velneo-vdevelop/proyectos-objetos-y-editores/proyecto-de-aplicacion/formulario.md). Este objeto estará compuesto por varias [imágenes Svg](/23/velneo-vdevelop/proyectos-objetos-y-editores/proyecto-de-aplicacion/formulario/controles-de-visualizacion/imagen-svg-control.md) (gráficos vectoriales), cada una de las cuales se corresponderá con un estado del control.\
Para poder disponer de un control de este tipo en un formulario se requiere crear previamente los controles en el proyecto. Para ello, necesitamos crear dos tipos de objeto diferente:

**Imagen Svg**: se trata de un objeto que contendrá un dibujo vectorial con formato SVG (Scalable Vector Graphics), correspondiente a un estado de un control.

**Control Svg**: este objeto estará compuesto por varias imágenes Svg (gráficos vectoriales), cada una de las cuales se corresponderá con un estado del control.

![](/files/-M7D7Dy-0QQQeyTSSWEP)

En la captura de pantalla anterior se ven todos los objetos (tanto imagen como el propio control SVG) que se necesitan para crear un control de tipo interruptor deslizador.

![](/files/-M7D7Dy5ASPDFU7IX1mH)

Una vez creados los controles en el proyecto, ya podremos usarlos en un formulario:

![](/files/-M7D7DyBayZKzlrcE5P2)

Encontraremos el formulario donde hemos incluido todos los controles en la carpeta de objetos específicos de este tutor de controles SVG.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.velneo.com/23/velneo-vtutor/tutores-de-controles/tutor-de-controles-svg.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
