效果如下所示:

例子中演示了单元格变色,具体需要什么修改,在相同的位置进行操作即可。

检测到[鼠标释放]事件,则记录被选中的单元格。
使用[鼠标按下]事件也可以,不过我个人测试下来,[按下]的判断精准度不如[释放]。

使用[键按下]事件,通过判断是否为 Return 识别当前为 改值状态 或 回车确认/换行状态。
检测到回车 则 手动更新[选中单元格]行数
非回车 则 开启修改状态,传值至[修改中单元格],进行坐标锁定。


使用[值改变]事件,进行改值后的单元格编辑。

循环每个单元格,就可以进行覆写还原。
不过这个办法感觉不太高明,未来有更好的解决办法再回来更新。

PS:
入职后的工作也好,更新的博客内容也罢。居然绝大多数都是跟表格相关的,希望领导能遵守承诺,以后给我升职,并封我为Labview表格大王hhhhhhhhh ₍˄·͈༝·͈˄*₎◞ ̑̑
