112 lines
1.6 KiB
Markdown
112 lines
1.6 KiB
Markdown
# Cuadro de texto (text)
|
|
|
|
---
|
|
|
|
## Propiedades
|
|
|
|
---
|
|
|
|
### **value**
|
|
|
|
Establece o recupera el valor del control.
|
|
|
|
```py
|
|
app.debug(text.value)
|
|
```
|
|
|
|
|
|
## Métodos
|
|
|
|
---
|
|
|
|
### **set_focus**
|
|
|
|
Envía el foco al control.
|
|
|
|
<br>
|
|
|
|
## Eventos
|
|
|
|
---
|
|
|
|
### **focus_gained**
|
|
|
|
Se produce al recibir el foco.
|
|
|
|
<br>
|
|
|
|
### **focus_lost**
|
|
|
|
Se produce al perder el foco.
|
|
|
|
<br>
|
|
|
|
### **text_changed**
|
|
|
|
Se produce al cambiar el contenido del control.
|
|
|
|
<br>
|
|
|
|
## Propiedades pyUNO
|
|
|
|
| Nombre | Descripción |
|
|
| ------ | ----------- |
|
|
| Align | |
|
|
| AutoHScroll | |
|
|
| AutoVScroll | |
|
|
| BackgroundColor | |
|
|
| Border | |
|
|
| BorderColor | |
|
|
| ContextWritingMode | |
|
|
| DefaultControl | |
|
|
| EchoChar | |
|
|
| EnableVisible | |
|
|
| Enabled | |
|
|
| FontCharWidth | |
|
|
| FontCharset | |
|
|
| FontDescriptor | |
|
|
| FontEmphasisMark | |
|
|
| FontFamily | |
|
|
| FontHeight | |
|
|
| FontKerning | |
|
|
| FontName | |
|
|
| FontOrientation | |
|
|
| FontPitch | |
|
|
| FontRelief | |
|
|
| FontSlant | |
|
|
| FontStrikeout | |
|
|
| FontStyleName | |
|
|
| FontType | |
|
|
| FontUnderline | |
|
|
| FontWeight | |
|
|
| FontWidth | |
|
|
| FontWordLineMode | |
|
|
| HScroll | |
|
|
| HardLineBreaks | |
|
|
| Height | |
|
|
| HelpText | |
|
|
| HelpURL | |
|
|
| HideInactiveSelection | |
|
|
| LineEndFormat | |
|
|
| MaxTextLen | |
|
|
| MultiLine | |
|
|
| Name | |
|
|
| PaintTransparent | |
|
|
| PositionX | |
|
|
| PositionY | |
|
|
| Printable | |
|
|
| ReadOnly | |
|
|
| ResourceResolver | |
|
|
| Step | |
|
|
| TabIndex | |
|
|
| Tabstop | |
|
|
| Tag | |
|
|
| Text | |
|
|
| TextColor | |
|
|
| TextLineColor | |
|
|
| VScroll | |
|
|
| VerticalAlign | |
|
|
| Width | |
|
|
| WritingMode | |
|
|
|
|
<br> |