Click here to Skip to main content
15,887,746 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Set Focus on a textbox after showing form.showdialog() Pin
Richard Deeming12-Nov-16 4:37
mveRichard Deeming12-Nov-16 4:37 
GeneralRe: Set Focus on a textbox after showing form.showdialog() Pin
Richard MacCutchan12-Nov-16 4:46
mveRichard MacCutchan12-Nov-16 4:46 
GeneralRe: Set Focus on a textbox after showing form.showdialog() Pin
Richard Deeming12-Nov-16 5:48
mveRichard Deeming12-Nov-16 5:48 
GeneralRe: Set Focus on a textbox after showing form.showdialog() Pin
Richard MacCutchan12-Nov-16 21:28
mveRichard MacCutchan12-Nov-16 21:28 
GeneralRe: Set Focus on a textbox after showing form.showdialog() Pin
Dave Kreskowiak12-Nov-16 6:47
mveDave Kreskowiak12-Nov-16 6:47 
GeneralRe: Set Focus on a textbox after showing form.showdialog() Pin
Richard Deeming12-Nov-16 11:44
mveRichard Deeming12-Nov-16 11:44 
QuestionWhy this sub is executed 3 times ? Pin
desanti7-Nov-16 18:26
desanti7-Nov-16 18:26 
AnswerRe: Why this sub is executed 3 times ? Pin
Eddy Vluggen11-Nov-16 7:17
professionalEddy Vluggen11-Nov-16 7:17 
From MSDN[^]:
The CurrentChanged event is raised whenever the Current property changes for any of the following reasons:
  1. The current position of the List changes.
  2. The DataSource or DataMember properties change.
  3. The membership of the underlying List changes, which causes Position to refer to a different item. Examples include adding or deleting an item before the current item, deleting or moving the current item itself, or moving an item to the current position.
  4. The underlying list is refreshed by a new sorting or filtering operation.
First thing that happens is #2, and I'd expect #1 after that (move to first position in the set), add #4 and you have three calls.

Which is mostly guessing, since I cannot see all code.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

GeneralRe: Why this sub is executed 3 times ? Pin
desanti11-Nov-16 19:28
desanti11-Nov-16 19:28 
GeneralRe: Why this sub is executed 3 times ? Pin
Eddy Vluggen12-Nov-16 1:42
professionalEddy Vluggen12-Nov-16 1:42 
QuestionMy application does not close anymore Pin
desanti31-Oct-16 12:33
desanti31-Oct-16 12:33 
QuestionRe: My application does not close anymore Pin
Midi_Mick31-Oct-16 14:43
professionalMidi_Mick31-Oct-16 14:43 
AnswerRe: My application does not close anymore Pin
desanti31-Oct-16 15:01
desanti31-Oct-16 15:01 
GeneralRe: My application does not close anymore Pin
Midi_Mick31-Oct-16 17:07
professionalMidi_Mick31-Oct-16 17:07 
GeneralRe: My application does not close anymore Pin
desanti31-Oct-16 18:35
desanti31-Oct-16 18:35 
AnswerRe: My application does not close anymore Pin
Midi_Mick31-Oct-16 18:47
professionalMidi_Mick31-Oct-16 18:47 
GeneralRe: My application does not close anymore Pin
desanti31-Oct-16 18:56
desanti31-Oct-16 18:56 
GeneralRe: My application does not close anymore Pin
Midi_Mick31-Oct-16 19:01
professionalMidi_Mick31-Oct-16 19:01 
GeneralRe: My application does not close anymore Pin
desanti31-Oct-16 19:06
desanti31-Oct-16 19:06 
GeneralRe: My application does not close anymore Pin
Midi_Mick31-Oct-16 19:26
professionalMidi_Mick31-Oct-16 19:26 
AnswerRe: My application does not close anymore Pin
Richard Deeming1-Nov-16 3:43
mveRichard Deeming1-Nov-16 3:43 
GeneralRe: My application does not close anymore Pin
desanti1-Nov-16 6:00
desanti1-Nov-16 6:00 
GeneralRe: My application does not close anymore Pin
Richard Deeming1-Nov-16 6:28
mveRichard Deeming1-Nov-16 6:28 
GeneralRe: My application does not close anymore Pin
desanti1-Nov-16 9:19
desanti1-Nov-16 9:19 
GeneralRe: My application does not close anymore Pin
Eddy Vluggen1-Nov-16 9:32
professionalEddy Vluggen1-Nov-16 9:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.