Visual Basic 6 - Object Naming Conventions for Standard Objects
The following tables define the MCS standard object name prefixes. These prefixes are consistent with those documented in
the Visual Basic Programmers Guide.
Prefix
Object type
ani
Animation button
cmb
Combo box and drop down list box
chk
Checkbox
cmd
Command button (3D)
ctr
Control (when specific type unknown)
dlg
Common dialog control
frm
Form
fra (3d)
Frame (3d)
img
Image
lbl
Label
lin
Line
mnu
Menu
opt (3d)
Option Button (3d)
pct
Picture
shp
Shape controls
txt
Text Box
tmr
Timer
Scope and Usage Prefixes:
Prefix
Desciption
g
Global
m
Local to module or form
st
Static variable
(no prefix)
Non-static variable, prefix local to procedure
v
Variable passed by value (local to a routine)
r
Variable passed by reference (local to a routine)
File header comment convention:
'************************************************************************************
' 3devgroup
'
' File Name : file name
' Class Name : class,form,module or other type of object name
' Interface Name : Interface name
' Comments : scope,inputs,outputs
' --------------------------------------
' Author : author
' Email : email
'************************************************************************************