Perhaps I am missing something very subtle or have just not noticed something pertient. I have the following very simple code.
I intended to use TboxNumber as the For-Loop variable. In previous versions of VB.Net, typing the first few characters of
a Dim'ed variable resulted in the Editor typing the rest of the variable name.
For the project I am currently developing, tboxn did not result in TboxNumber when I keyed the equals sign in the For Statement.
In other parts of this program, it has worked.
Is there some Edit Option I have turned off (or on) which would have this effect?
The editor completes the name TboxNumber in other contexts: It is the For-Loop which has the problem.
Private Function DuplicateSearchResult(KeyedValue As Integer, BoxNumber As Integer) As DuplicateInformation Dim TboxNumber As Integer 'For-Loop counter Dim Result As DuplicateInformation Result.DuplicateFound = False Result.TboxNumberA = BoxNumber For tboxn = 0 To 80 Next End Function
I intended to use TboxNumber as the For-Loop variable. In previous versions of VB.Net, typing the first few characters of
a Dim'ed variable resulted in the Editor typing the rest of the variable name.
For the project I am currently developing, tboxn did not result in TboxNumber when I keyed the equals sign in the For Statement.
In other parts of this program, it has worked.
Is there some Edit Option I have turned off (or on) which would have this effect?
The editor completes the name TboxNumber in other contexts: It is the For-Loop which has the problem.
Last edited by a moderator: