Naming Conventions for GUI elements

 

Component Type

Naming Prefix

Example

Bitmap Canvas

bmp

bmpPictureHolder

Button

btn

btnClickMe

Calendar

cal

calPickMonth

Check Box

chk

chkFriesWithThat

Choice

cho

choDrinkSelector

Code Editor

cod

codEditor

Combo Box

cbo

cboDropDownList

Guage

gua

guaFuelGage

HTML Window

htm

htmBrowser

Image

img

imgHolder

Image Button

imb

imbClickMe

List

lst

lstChoiceList

Multi Column List

mcl

mclChoiceLIst

Notebook

not

notXYZ

Password Field

pwd

pwdPassword

Radio Group

rdg

rdgCoffee

Slider

sli

sliSpeed

Spinner

spi

spiChoices

Static Box

sbx

sbxBackground

Static Line

sln

slnSeparator

Static Text

stx

stxInstructions

Text Area

txa

txaEntryArea

Text Fields

txt

txtEntryBox

Toggle Button

tog

togChoiceA

Tree

tre

lstChoiceList

 

If you donít see a prefix for the GUI widget you want to use, please suggest one to me by email [azs@bu.edu] and Iíll add it to the list.