sub called on program init ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cme0848
    New Member
    • Dec 2007
    • 4

    sub called on program init ?

    I have an event callback that I created to respond to the value change of a numeric control. For some reason this sub is called event before my first Frm_Load submethod is called. Grrrr...why is this sub being called first before anything else?? The event passed appears to be "Empty".
  • tlhintoq
    Recognized Expert Specialist
    • Mar 2008
    • 3532

    #2
    A) are you sure its a 'callback' and not just a regular event handler?
    B) That makes sense. When the form loads the value changes from non-existent to whatever you set it to as a default: Probably zero.

    Comment

    • cme0848
      New Member
      • Dec 2007
      • 4

      #3
      You're correct its just an event handler (sorry, C programmer trying to keep up with the VB lingo)

      What you're saying would make sense because I do have the Default set to ZERO on the control handled by that event. Is there a way to stop this event handler from being called or event just differentiate that it was the software setting default value instead of a user??

      Comment

      Working...