Results 1 to 14 of 14

Thread: Custom Contol Problem

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2005
    Posts
    16

    Custom Contol Problem

    I am working on a custom control and i have it working for the most part, but what i want to do now is, on the form that i put my custom control, i want to fire an event when my custom control gets focus. so what i did was just added an event

    Code:
    Private Sub CustCont1_GotFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles CustCont1.GotFocus
    the problem is, is that when i put a breakpoint on this line i never hit the breakpoint. is there something special i need to code in my customcontrol to fire the gotfocus and lostfocus events?

    BTW this is in the Compact Framework 3.5

    thanks
    doug
    Last edited by dougg; May 7th, 2009 at 02:05 PM.

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