Results 1 to 4 of 4

Thread: help with events

  1. #1

    Thread Starter
    Fanatic Member daimous's Avatar
    Join Date
    Aug 2005
    Posts
    657

    help with events

    hi guys! help please. I have a 2 forms, the first is the main form and the second one is the search form. I have a search button in the 1st form that when i click that button the search form will appear as dialog(modal) and in that search form i have the event call KeyPress but it seems not working because the code under that eventhandler is not executed. Any help please.

  2. #2
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: help with events

    Have you got any code to show us?
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: help with events

    So you're trying to handle a KeyPress event in the search form, correct? The KeyPress event of what? The form itself? If so then have you set its KeyPreview property to True?
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  4. #4
    Hyperactive Member
    Join Date
    Jul 2006
    Location
    /root/usr/local/bin
    Posts
    476

    Re: help with events

    i tried this and its ok

    Free WinForms controls for .NET 2.0: Quantum Software Solutions Windows Forms Components 2.0.0

    but how to type only for text numberbox in property it has paswordchar and
    charcter casing (upper and lower)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width