Each type of control has a default prefix for its name. The following table lists the initial default prefix for each control (note that there is no prefix for a window).
Control |
Prefix |
---|---|
Animation |
am_ |
CheckBox |
cbx_ |
CommandButton |
cb_ |
DataWindow |
dw_ |
DatePicker |
dp_ |
DropDownListBox |
ddlb_ |
DropDownPictureListBox |
ddplb_ |
EditMask |
em_ |
Graph |
gr_ |
GroupBox |
gb_ |
HProgressBar |
hpb_ |
HScrollBar |
hsb_ |
HTrackBar |
htb_ |
InkEdit |
ie_ |
InkPicture |
ip_ |
Line |
ln_ |
ListBox |
lb_ |
ListView |
lv_ |
MonthCalendar |
mc_ |
MultiLineEdit |
mle_ |
OLE 2.0 |
ole_ |
Oval |
ov_ |
Picture |
p_ |
PictureHyperLink |
phl_ |
PictureButton |
pb_ |
PictureListBox |
plb_ |
RadioButton |
rb_ |
Rectangle |
r_ |
RichTextEdit |
rte_ |
RoundRectangle |
rr_ |
SingleLineEdit |
sle_ |
StaticText |
st_ |
StaticHyperLink |
shl_ |
Tab |
tab_ |
TreeView |
tv_ |
User Object |
uo_ |
VProgressBar |
vpb_ |
VScrollBar |
vsb_ |
VTrackBar |
vtb_ |
You can change the default prefixes for controls in the Window painter's Options dialog box. Select Design>Options from the menu bar to open the Options dialog box. The changes you make are saved in the PowerBuilder initialization file. For more about the PowerBuilder initialization file, see How the PowerBuilder environment is managed.