Thursday, 26 December 2013

PowerBuilder Naming Standards - Objects , Datatypes , Events, Varialbles

Objects



Prefix
Object Type
a
application
w
window
d or dw
datawindow
m
menu
m
menuitem
f
global function
lf
local function
mf
menu function
s
structure
ls
local structure
uo
user object
uof
user object function
wf
window function
ws
window structure



Controls and Events


Prefix
Control/Event Type
cbx
check box
cb
command button
dw
data window
ddlb
drop down list box
gbx
group box
hsb
horizontal scroll bar
ln
line
lbx
list box
m
menu item
mle
multi line edit field
oval
oval
p
picture
pb
picture button
rb
radio button
rect
rectangle
rrect
round rectangle
sle
single line edit field
st
static text
sd
SDE defined event
ue
user defined event
uo
user object
vsb
vertical scroll bar


























 DataTypes



Prefix
DataType
t
datetime
b
boolean
c
decimal
u
double
d
date
g
Graphicobject
i
integer
l
long
r
real
s
string
t
structure
a
application defined object
x
transaction object
o
BLOB
m
time
w
Window





















 Variables at Different Scopes

Preix
Scope
g
global
s
shared
i
instance
l
local
p
parameter (for datawindows, functions or subroutines)
r
reference parameter to a function
a
structure or object attribute (optional)















These are all the PB Naming Standards .

----------------
Regards
Pushparaj
















































No comments: