Click here to Skip to main content
15,911,360 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How To Sort DataGridView Pin
Chris C-B2-Jun-10 20:13
Chris C-B2-Jun-10 20:13 
AnswerRe: How To Sort DataGridView Pin
Abhinav S2-Jun-10 20:19
Abhinav S2-Jun-10 20:19 
AnswerRe: How To Sort DataGridView Pin
Baconbutty2-Jun-10 21:29
Baconbutty2-Jun-10 21:29 
QuestionLost_focus and save button. Pin
lemarshall2-Jun-10 16:51
lemarshall2-Jun-10 16:51 
AnswerRe: Lost_focus and save button. Pin
Dr.Walt Fair, PE2-Jun-10 17:15
professionalDr.Walt Fair, PE2-Jun-10 17:15 
GeneralRe: Lost_focus and save button. Pin
lemarshall2-Jun-10 17:32
lemarshall2-Jun-10 17:32 
AnswerRe: Lost_focus and save button. Pin
George B Gilbert2-Jun-10 17:17
George B Gilbert2-Jun-10 17:17 
GeneralRe: Lost_focus and save button. Pin
lemarshall2-Jun-10 17:32
lemarshall2-Jun-10 17:32 
The Save works only when they click on the Save button to cycle through the Material Collection class. When the control loses focus then it STORES the necessary info into the Material collection class. I figured this would be easier than cycling through each text box when the Save button was clicked and then doing something like :
if len(textbox.text)> 0 then
Store necessary info to table
end if
and then to the next textbox and so on.

My problems seems to be that the events don't fire in the sequence that I'm expecting. I can enter data into 2 or 15 text boxes and when I click on Save it always seems to handle the number of items in the collection and THEN go to at least one more textbox even though there is no data stored in it. If I enter data into just one text box then the Save routine runs before the STORE routine for the textbox and then that store routine runs and then the next textbox lost focus runs also. Not sure why?

Thanks,
Larry
GeneralRe: Lost_focus and save button. Pin
George B Gilbert2-Jun-10 19:03
George B Gilbert2-Jun-10 19:03 
GeneralRe: Lost_focus and save button. Pin
lemarshall3-Jun-10 2:40
lemarshall3-Jun-10 2:40 
GeneralRe: Lost_focus and save button. Pin
George B Gilbert3-Jun-10 6:35
George B Gilbert3-Jun-10 6:35 
GeneralRe: Lost_focus and save button. Pin
lemarshall3-Jun-10 16:13
lemarshall3-Jun-10 16:13 
AnswerRe: Lost_focus and save button. Pin
Henry Minute3-Jun-10 4:22
Henry Minute3-Jun-10 4:22 
QuestionGenerating Error While Set the FontStyle Pin
Anubhava Dimri1-Jun-10 20:43
Anubhava Dimri1-Jun-10 20:43 
AnswerRe: Generating Error While Set the FontStyle Pin
Wayne Gaylard1-Jun-10 21:46
professionalWayne Gaylard1-Jun-10 21:46 
GeneralRe: Generating Error While Set the FontStyle Pin
Anubhava Dimri2-Jun-10 0:45
Anubhava Dimri2-Jun-10 0:45 
AnswerRe: Generating Error While Set the FontStyle Pin
walterhevedeich2-Jun-10 0:35
professionalwalterhevedeich2-Jun-10 0:35 
QuestionHow I search DataGridView with text column? Pin
Curious 20091-Jun-10 10:35
Curious 20091-Jun-10 10:35 
AnswerRe: How I search DataGridView with text column? Pin
Luc Pattyn1-Jun-10 10:48
sitebuilderLuc Pattyn1-Jun-10 10:48 
GeneralRe: How I search DataGridView with text column? Pin
Curious 20091-Jun-10 11:07
Curious 20091-Jun-10 11:07 
GeneralRe: How I search DataGridView with text column? Pin
Luc Pattyn1-Jun-10 11:17
sitebuilderLuc Pattyn1-Jun-10 11:17 
GeneralRe: How I search DataGridView with text column? Pin
Curious 20091-Jun-10 12:22
Curious 20091-Jun-10 12:22 
GeneralRe: How I search DataGridView with text column? Pin
Luc Pattyn1-Jun-10 12:27
sitebuilderLuc Pattyn1-Jun-10 12:27 
GeneralRe: How I search DataGridView with text column? Pin
elizas1-Jun-10 20:08
elizas1-Jun-10 20:08 
GeneralRe: How I search DataGridView with text column? Pin
Dave Kreskowiak2-Jun-10 2:36
mveDave Kreskowiak2-Jun-10 2:36 

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.