我对一个叫做lblTotal的表格进行了贴标签控制。
在我上次对存放处作出承诺期间,我惊讶地看到这一表格在经过修改的清单中点名。
当我看一下该守则时,我发现,现在所有的这种控制名称都出现在lbl Total(即小吨)。
控制权的名称本身是lblTotal。
Further when I used ctrl-F with case matching to find lbltotal it would only find one as instantly all other occurrances would revert to lblTotal. So it seems that at some moment after the IDE records some event in the code window it gets around to making the casing conform to the control s name.
What I don t understand is how this happened in the first place without a change to the control s name? Can someone explain how?
PS After I wrote the above I saw this. Interestingly I also had a string variable that s name had its casing changed during the same commit and I assumed I must have changed it myself but now, having read the above I think it s because the same variable name was present in a different scope. However there is no other occurrance of lbltotal anywhere else in the project.
PPS lblTotal实际上是lblTotal(0),在操作期间,还装上了更多的份数,因此许多代码参考资料是lbl Total(x1)。 我不知道这是否有什么变化。
Finally has anyone ever seen vb6 change the casing of string literals by itself? (Please God no!!) Actually this last point is what causes me the most unease about this experience as in TOO many places in the codebase string literals are used in conditional clauses.