下面三个问题,其实也就是不知道指定列怎么表示,指定单元格怎么表示.大家帮我看看.多谢了
1.当鼠标指针在MSFlexGrid1的第一列上移动时, MouseIcon为手形.
2.当鼠标指针在MSFlexGrid1的第二列,第三排交叉的单元格时,Mouselcon为手形
3.怎样设置MSFlexGrid1的第列为选中列.
1.当鼠标指针在MSFlexGrid1的第一列上移动时, MouseIcon为手形.
2.当鼠标指针在MSFlexGrid1的第二列,第三排交叉的单元格时,Mouselcon为手形
3.怎样设置MSFlexGrid1的第列为选中列.
private sub msflexgrid_mousemove(............)
if msflegrid.mousecol=0 then
msflexgrid.mousepoint=99
msflexgrid.mouseicon=loadpicture("d:\hand.cur")
else
msflexgrid.mousepoint=0
end if
end sub2.
private sub msflexgrid_mousemove(............)
if msflegrid.mousecol=1 and msflexgrid.mouserow=2 then
msflexgrid.mousepoint=99
msflexgrid.mouseicon=loadpicture("d:\hand.cur")
else
msflexgrid.mousepoint=0
end if3.
msflexgrid.col=4 --设置当前列为第五列
上面的mousepoint-->mousepointer
MSFlexGrid1.Row = 1
MSFlexGrid1.Col = 5
MSFlexGrid1.CellBackColor = vbBlue用个循环好了========================
苹果。
msflexgrid1.mouseicon=loadpicture("d:\hand.cur")
编译错误:
不正确的属性用法