且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

这段代码是什么意思?

更新时间:2022-06-20 04:06:55

前4行获取单元格的索引在listview中单击了。然而,除了单元格12(Case Else)之外,Select Case语句几乎退出sub。



那么如果索引是0,那它永远不会是谢谢对于其他情况,它将开始就地编辑。



之后它会尝试在你正在编辑的单元格顶部显示一个文本框。
The first 4 lines get the index of the cell that was clicked in the listview. However the Select Case statement pretty much exits the sub for any case except cell 12 (the Case Else).

Then if the index is 0, which it never is thanks to the case else, it will begin in place editing.

After that it tries to show a textbox on top of the cell that you are editing.


这一切都是得到的在ListView中单击的项目并修改TextBox的边界。如果你想要更多,那么你必须要求编写它的人或者在调试器中逐行浏览代码并观察变量和屏幕上发生的事情。
All this does is get the item that was clicked in a ListView and modify the bounds of a TextBox. If you want more than that, you'll have to either ask the guy who wrote it or step through the code line-by-line in the debugger and watch what happens in the variables and on screen.