« Les bonnes manières de Goupil »
VISUAL FOXPRO 9
OBJETS Conventions de dénomination
Pour nommer les Objets, utilisez le format recommandé suivant : PréfixeNomObjet
txtNom désignera par exemple, une zone de saisie (TextBox), dont le contenu est un Nom.
| Préfixe | Objet |
Définition | Exemple |
| chk |
CheckBox |
|
|
| col |
Collection |
|
|
| cbo |
ComboBox |
|
|
| cmd |
CommandButton |
|
|
| cmg |
CommandGroup |
|
|
| cnt |
Container |
|
|
| ctl |
Control |
|
|
| cur |
Cursor |
|
|
| cad |
CursorAdapter |
|
|
| <defined> |
Custom |
|
|
| dte |
DataEnvironment |
|
|
| edt |
EditBox |
|
|
| frm |
Form |
|
|
| frs |
FormSet |
|
|
| grd |
Grid |
|
|
| grc |
Column |
|
|
| grh |
Header |
|
|
| hpl |
HyperLink |
|
|
| img |
Image |
|
|
| lbl |
Label |
|
|
| lin |
Line |
|
|
| lst |
ListBox |
|
|
| olb |
OLEBoundControl |
|
|
| ole |
OLE |
|
|
| opt |
OptionButton |
|
|
| opg |
OptionGroup |
|
|
| pag |
Page |
|
|
| pgf |
PageFrame |
|
|
| prj |
ProjectHook |
|
|
| rel |
Relation |
|
|
| rpt |
ReportListener |
|
|
| sep |
Separator |
|
|
| shp |
Shape |
|
|
| spn |
Spinner |
|
|
| txt |
TextBox |
|
|
| tmr |
Timer |
|
|
| tbr |
ToolBar |
|
|
| xad |
XMLAdapter |
|
|
| xfd |
XMLField |
|
|
| xtb |
XMLTable |
|
|
© Richard Flouriot – RFi 18 mars 2007