2008级《VFP程序设计》练习(表单题部分)表单题(参考答案)
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
2008级《VFP程序设计》练习(表单题部分)
一、表单设计
230100、LOGIN.scx
######
form Form1
AutoCenter = .T.
Caption = "登录"
######
label Label1
AutoSize = .T.
Caption = "密码"
######
label Label2
AutoSize = .T.
Caption = "登录日期"
######
textbox Text1
InputMask = "999999"
PasswordChar = "*"
######
textbox Text2
BorderStyle = 0
Value = (DATE( ))
ReadOnly = .T.
BackColor = 192,192,192
######
commandbutton Command1 Caption = "确定"
######
commandbutton Command2 Caption = "取消"
######
230101、shape.scx
######
form Form1
Caption = "画图"
######
shape Shape1
Height = 100
Width = 70
Top = 20
Left = 30
BorderColor = 255,0,0
######
command Command1 Caption = "画图"
######
command Command2 Caption = "退出"
######
230102、line.scx
######
form Form1
Caption = "图形"
######
shape Shape1
Height = 100
Width = 100 BorderWidth = 6 Curvature = 99 BackColor = 255,0,255 BorderColor = 255,255,0 ######
line Line1 BorderWidth = 20 BorderColor = 0,0,255 ######
230103、imsh2.scx
######
form Form1
BackColor = 200,255,255
######
label Label1
FontName = "隶书"
FontSize = 18
BackStyle = 0
Caption = "日落"
ForeColor = 0,0,255
######
image Image1
Picture = ..\..\fjexam95\sunset.jpg Stretch = 1
######
230104、sjrq2.scx
######
form Form1
Caption = "显示时间与日期" ######
pageframe Pageframe1 PageCount = 2
Page1.Caption = "时间" Page2.Caption = "日期"
######
label label1
FontSize = 14
Caption = (time())
######
label label2
FontBold = .T.
Caption = (dtoc(date()))
######
230105、shpr.scx
######
form Form1
Caption = "形状变化"
######
label Label1
FontSize = 12
Caption = "圆角曲率"
######
spinner Spinner1 KeyboardHighValue = 99 KeyboardLowValue = 0 SpinnerHighValue = 99.00 SpinnerLowValue = 0.00 ######
shape Shape1 BackColor = 255,0,0
######
230106、horse.scx
######
label Label1
Caption = "哈哈镜"
AutoSize = .T.
FontSize = 20
######
image Image1
Picture = ..\..\fjexam95\zebra.bmp Stretch = 2
Height = 120
Width = 80
######
230107、Selball2.scx
######
form Form1
AutoCenter = .T.
Caption = "选择"
######
optiongroup Optiongroup1 ButtonCount = 3
Option1.Caption = "选1号" Option2.Caption = "选2号" Option3.Caption = "选3号" Option1.Top = 5
Option2.Top = 5
Option3.Top = 5
######
commandgroup Commandgroup1 ButtonCount = 2
Command1.Caption = "确定" Command2.Caption = "取消" Command1.Top = 5
Command2.Top = 5
######
230108、dxxz2.scx