Flash Lite 2 |
|||
| Guide de référence du langage ActionScript Flash Lite 2.x > Classes ActionScript > TextField > border (propriété TextField.border) | |||
public border : Boolean
Spécifie si le champ texte comporte une bordure. Si true, le champ texte comporte une bordure. Si false, le champ texte ne comporte pas de bordure.
Disponibilité : ActionScript 1.0 ; Flash Lite 2.0
L'exemple suivant crée un champ texte appelé my_txt, définit la propriété border sur true et affiche du texte dans ce champ.
this.createTextField("my_txt", this.getNextHighestDepth(), 10, 10, 320, 240);
my_txt.border = true;
my_txt.text = "Lorum ipsum";