Sign in Join
Wiki copytemporary

TBitBtn/es: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: TBitBtn/es

OldNewLine
1+**TBitBtn** ![](/wiki-images/a/a0/Tbitbtn.png) es un componente que crea un botón con una imagen (opcional) sobre él. Un TBitBtn es un descendiente de [[TWinControl]] y está disponible sobre la pestaña [[Additional tab/es]] de la [[Lazarus Tutorial/es|Paleta de componentes]].
2+
3+<figure>
4+<img src="TBitBtn_es_Additional.png" title="TBitBtn_es_Additional.png" />
5+<figcaption>TBitBtn_es_Additional.png</figcaption>
6+</figure>
7+
8+TBitBtn tiene una propiedad *Kind* que permite seleccionar tipos de botones predefinidos como los clásicos *bkok*, *bkcancel* y otros más, con la imagen y texto correspondiente. Por default el tipo (kind) del botón es *bkCustom* lo cual permite seleccionar una imagen (desde la propiedad *Glyph*) y el texto desde la propiedad *Caption*, obteniendo un modal-result *mrOk*.
9+
10+Desde la propiedad *Layout* se define si la imagen se situará a la izquierda, derecha, arriba o dejajo del texto.
11+
12+<figure>
13+<img src="TBitBtn_es.png" title="TBitBtn_es.png" />
14+<figcaption>TBitBtn_es.png</figcaption>
15+</figure>
16+
17+## Ver también
18+
19+- [[doc:lcl/buttons/tbitbtn.html|TBitBtn doc]]
20+- [[TButton/es|TButton]]
21+- [[TSpeedButton]]
22+- [[TColorButton]]
23+
24+---
25+*From the Free Pascal wiki, page "TBitBtn/es", as it stood on 2018-02-25 after a change by Useroflazarus, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*

Back to history