|
3.3.3函数的命名规范
Global Function全局函数 gf_xxxx_
Window Function窗口函数 wf_xxxx_
Menu Function 菜单函数 mf_xxxx_
User Object Function 用户对象函数 uf_xxxx_
Global External Function全局外部函数 gef_xxxx_
Local External Function局部外部函数 lef_xxxx_
3.3.4控件命名规范:
CheckButton cb_
CommandButton cb_
DataWindow dw_
DropDownListBox ddlb_
DropDownPictureListBox ddplb_
Eidt Mask em_
Graph gr_
GroupBox gb_
HScrollBar hsb_
ListBox lb_
line ln_
ListView lv_
MultiLineEdit mle_
OLE object ole_
Oval oval_
PictureButton pb_
PictureListBox plb_
RadioButton rb_
Recentangle r_
RoundRecentangle rr_
RichTextEdit rte_
Static Text st_
SingleLineEdit sle_
Tab tab_
TreeView tv
UserObject uo_
VScrollBar vsb_
说明:若以上述对象为基础设计标准的用户定义对象,则前缀前加 'u'。
3.3.5变量的命名规范
变量的命名规范为:
#$_??????????
# 的取值为:
g Global (全局变量) s Share (共享变量) i Instance (实例变量) l Local (局部变量) a Argument (参数变量)
$的取值由下表决定:
数据类型 $的值 Any a boolean b
blob bb double d date date decimal dec datetime dt integer i long l real r string s character ch time t unsigned int ui unsigned long ul
3.3.6系统对象数据类型
DataStore ds DataWindow dw DataWindowChild dwc MailSession ms Menu m Structure str Transaction trans User Object uo
1.1界面设计规范 屏幕分辨率:800 * 600 字体及字号:中文简体,宋体/黑体,9号字。一般情况下,建议界面使用9号宋体(使用中文Win95中文字库 , 与Microsoft 公司Win95系统所使用的字体一致.),如果出于界面布局考虑可灵活变通。但原则上不支持使用外部字库,以免制做安装盘或安装到其它机器时,找不到相应字库。
共2页: 上一页 [1] 2 下一页
|