作者yayagame (久城龙也)
看板Visual_Basic
标题[VB6 ] 新手程式码的问题...麻烦了!!
时间Fri Nov 3 02:28:45 2006
程式码如下
Private Sub Command1_Click()
If Check1 = 1 Then
Label1.FontBold = True
Else
Label1.FontBold = False
End If
If Check2 = 1 Then
Label1.FontUnderline = True
Else
Label1.FontUnderline = False
End If
If Option1.Value = True Then
Label1.alignmnt = 0
End If
If Option2.Value = True Then
Label1.alignmnt = 2
End If
If Option3.Value = True Then
Label1.alignmnt = 1
End If
End Sub
Private Sub Command2_Click()
End
End Sub
Private Sub Form_Load()
Label1.FontBold = False
Label1.FontUnderline = False
Option1.Value = ture
Label1.Alignment = 0
End Sub
--
它是显示Private Sub Command1_Click()错误...
编辑错误:找不到方法或资料成员
但是我找不到原因...这是我们的一个作业
请板上的各位专家帮忙...
感恩!! <(_ _)>
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 125.232.135.153
※ 编辑: yayagame 来自: 125.232.135.153 (11/03 02:30)
1F:推 qsss:@@ 请问你有Command1这个按钮吗?? 11/03 09:19
2F:推 commiserate:我想问题是在 Label1.alignmnt 你确定这样写没错吗? 11/03 09:21
3F:推 colawei:alignmnt ? 打错字了吧 11/03 09:25