![]() ![]() ![]() |
Prefixos recomanats per als objectes d'un projecte en Visual Basic
Objecte |
Prefix |
Exemple |
Form (Formulari) |
frm |
frmObrirFitxer |
Check box (Quadre de comprovació) |
chk |
chkNomésLlegir |
Combo box (Quadre combinat) |
cbo |
cboAngles |
Command button (Botó de command.) |
cmd |
cmdCancel·lar |
Data (Dades) |
dat |
datBiblioteca |
Directori list box (Llista de directoris) |
dir |
dirFont |
Drive list box (Llista d'unitats) |
drv |
drvDestí |
File list box (Llista d'arxius) |
fil |
filFont |
Frame (Marc) |
fra |
fraLlengua |
Grid (Quadricula) |
grd |
grdPreus |
Horizontal scroll bar (Barra desp. hor.) |
hsb |
hsbVolum |
Image (Imatge) |
img |
imgIcona |
Label (Etiqueta) |
lbl |
lblMissatgeAjut |
Line (Línia) |
lin |
linVertical |
List box (Quadre de llista) |
lst |
lstCodisSistema |
Menu (Menú) |
mnu |
mnuObrirFitxer |
OLE (OLE) |
ole |
oleObjecte |
Option button (Botó d'opció) |
opt |
optFrances |
Picture box (Quadre de dibuix) |
pic |
picEspaiEnDisc |
Shape (circle, square,. oval, rectangle,. rounded reclangle and rounded square) (Forma) |
shp |
shpCercle |
Text box (Quadre de text) |
txt |
txtObtéText |
Timer (Rellotge) |
tmr |
tmrAlarma |
Vertical scroll bar (Barra desp. vert.) |
vsb |
vsbComú |