Sign in Join
Wiki copytemporary

ColorBox/fr: what changed

Revision 2 to 3. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11### A propos
22
33ColorBox est un composant cela vous laisse choisir n'importe quelle couleur prédéfinie avec un aperçu . Il y a deux palettes prédéfinies disponibles :
44
55- cpDefault (certains ont utilisé fréquemment des couleurs appelées )
66- cpFull (toutes les couleurs appelées )
77
88Le téléchargement contient le composant , et un patch pour se servir de l'option cpFull .
99
1010Ce composant a été conçu pour des applications multi-plateforme .
1111
1212### Capture d'écran
1313
1414Voici un exemple de ce que le composant ColoBox donne à l'écran:
1515
1616![](/wiki-images/6/6b/Colorbox.jpg)
1717
1818### Auteur
1919
2020Darius Blaszijk
2121
2222### Licence
2323
2424[LGPL](http://www.opensource.org/licenses/lgpl-license.php)
2525
2626### Téléchargement
2727
2828La dernière réalisation stable peut être trouvé sur [la page des fichiers Lazarus CCR](http://sourceforge.net/project/showfiles.php?group_id=92177).
2929
3030### Journal des changements
3131
3232- Version 1.0 2005/05/16
3333
3434### Dépendances / Exigences du système
3535
3636- Aucune
3737
3838### Notes
3939
4040Ce composant fait maintenant partie de la LCL.
4141
4242Statut : Beta
4343
4444Issues: Testé sur Windows. Nécessite des test sur Linux.
4545
4646### Installation
4747
4848- Appliquer le patch colorbox.diff
4949- Installer le composant ou le créer en cours d'exécution
5050
5151### Création en cours d'exécution
5252
5353Pour créer le composant en cours d'exécution utilisez le code suivant :
5454
55-`procedure TForm1.Form1Create(Sender: TObject);`\
56-`begin`\
57-`  cbColorBox := TColorBox.Create(Self);`\
58-`  cbColorBox.Parent := Self;`\
59-`  cbColorBox.Left := 100;`\
60-`  cbColorBox.Top := 100;`\
61-`  cbColorBox.Palette := cpFull;`\
62-`end;`\
63-` `
55+``` pascal
56+procedure TForm1.Form1Create(Sender: TObject);
57+begin
58+ cbColorBox := TColorBox.Create(Self);
59+ cbColorBox.Parent := Self;
60+ cbColorBox.Left := 100;
61+ cbColorBox.Top := 100;
62+ cbColorBox.Palette := cpFull;
63+end;
64+```
6465
6566Assurer que vous n'oubliez pas de déclarer une variable globale cbColorBox.
6667
6768---
6869*From the Free Pascal wiki, page "ColorBox/fr", as it stood on 2011-08-03 after a change by Chronos, 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).*
6970Category: Components/fr

Back to history