找回密码
 立即注册
搜索

使弹出的页面设置为不透明

1
回复
621
查看
[复制链接]

4

主题

9

帖子

32

幻币

江湖少侠

Rank: 2

积分
138
QQ
2017-8-7 20:22:03 显示全部楼层 |阅读模式
给回答问题的学生加分后,开始计算,弹出的页面是透明的,不能覆盖张灯片,以致看不清加分。请帮我修改一下代码,设置弹出页面为不透明。

    Private Sub CommandButton3_Click()
    Dim txt As String
    Dim i, m, n As Integer
    If CommandButton3.Caption = "算" Then
    txt = "小组得分:" & Chr(13) & Chr(10)
    For i = 1 To zucount
    m = i Mod 4
    If m = 0 Then
    txt = txt + "  " + CStr(i) + "组" + CStr(zus(i)) + "分" & Chr(13) & Chr(10)
    Else
    txt = txt + "  " + CStr(i) + "组" + CStr(zus(i)) + "分"
    End If
    Next
    txt = txt & Chr(13) & Chr(10) & "个人得分:" & Chr(13) & Chr(10)
    n = 1
    For i = 0 To stucount
    If studefen(i) > 0 Then
    m = n Mod 3
    If m = 0 Then
    txt = txt + " " + Students(i, 1) + ":" + CStr(studefen(i)) + "分" & Chr(13) & Chr(10)
    Else
    txt = txt + " " + Students(i, 1) + ":" + CStr(studefen(i)) + "分"
    End If
    n = n + 1
    End If
    Next
    Label2.Caption = txt
    Label2.Visible = True
    CommandButton3.Caption = "藏"
    Else
    Label2.Visible = False
    CommandButton3.Caption = "算"
    End If
    End Sub

复制代码
课堂随机点名计分课件模板.rar (144.79 KB, 下载次数: 15)
PPT学习论坛
回复

使用道具 举报

0

主题

74

帖子

292

幻币

豪侠武师

Rank: 4

积分
598
QQ
2017-8-13 16:08:43 显示全部楼层
好东西,努力学习学习!
PPT学习论坛
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册