checkBox_Click misdirecting

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Joe Campanini
    New Member
    • May 2011
    • 58

    checkBox_Click misdirecting

    I have spent the last twelve hours trying to work out what is going on with my Windows Form program. The program has been working successfully for over a year. Recently I decided to add an additional textbox which would contain a postal code accessed from a bank name file. This was a visual aid only and had no other function. I have various check boxes, which, in the past when clicked would highlight the accompanying textbox to show that it was selected, and then the program would perform one of a various number of tasks. All well and good. Now, however, after adding the informative textbox, when any one of the checkbox’s are clicked it goes back to the beginning of the program and wants to start reading the input file again. Please, don't state the obvious, I have checked all the checkbox’s and the corresponding events, they all look exactly as they should, nothing has changed. Has anyone come across a problem like this before, and if so what was the solution?
  • vijay6
    New Member
    • Mar 2010
    • 158

    #2
    Déjà vu

    Hey Joe Campanini, i had this problem in my past. Still now i don't know the right solution to solve this problem. I had this problem when i try to modify my application after sometime. It works wrongly. Some click events were not worked. So i recreated my application again from first.

    Comment

    • Joe Campanini
      New Member
      • May 2011
      • 58

      #3
      Originally posted by vijay6
      Déjà vu

      Hey Joe Campanini, i had this problem in my past. Still now i don't know the right solution to solve this problem. I had this problem when i try to modify my application after sometime. It works wrongly. Some click events were not worked. So i recreated my application again from first.
      Thank you vijay6, believe it or not my wife who knows absolutely nothing about programming said to me, “Why are all the checkbox’s in that panel not quite as bright as the ones above” that’s when the penny dropped, I went to the properties of the panel, and somehow, don’t ask me how, the enabled property was false. I made it true, and now it’s all working. But once again, thank you Vijay, I had resolved to rewriting, but now I don’t have to.

      Comment

      Working...