做的一段代码程序中 有两个list列表
做的删除按钮只能删除list1中信息
怎么改 才能即可以删除list1的信息 也可以删除list2的
代码如下
Private Sub CommandCls_Click() '.RemoveItem i
Command2.ListIndex
List1;删除按扭
i = List1
vb中关于删除按钮代码的问题
答案:2 悬赏:0
解决时间 2021-02-18 02:29
- 提问者网友:故事与他
- 2021-02-17 10:25
最佳答案
- 二级知识专家网友:安稳不如野
- 2021-02-17 11:09
删除按钮中增加下面这两行
j = List2.ListIndex
List2.RemoveItem j
j = List2.ListIndex
List2.RemoveItem j
全部回答
- 1楼网友:颜值超标
- 2021-02-17 12:31
鼠标一经过该按钮 按钮就跑到窗口种别的位置 不让你点的代码 private sub command1_mousemove(button as integer, shift as integer, x as single, y as single) randomize command1.left = rnd * (form1.scalewidth - command1.width) command1.top = rnd * (form1.scaleheight - command1.height) end sub 窗体的width、height属性为宽和高,但是包括标题栏和边框 窗体的scalewidth、scaleheight属性也是宽和高,但是不包括标题栏和边框
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯