ActiveForm strangeness

In debug time, it says the ActiveForm = Nothing when it is clearly a form in the application. What may be going on


Answer this question

ActiveForm strangeness

  • break_r

    It said in debug time, when I put my mouse cursor over the Me.ActiveForm variable, it had the tooltip "ActiveForm | Nothing".

  • Spidermans_DarkSide - MSP, VSIP

    " it says " Can you identitfy "it"



  • markovalex

    Ok.

    Thank you!!


  • mcorry

    What are you trying to achieve ActiveForm is a Shared method so you shouldn't be accessing it via an instance to begin with. Is your application using MDI If so you should use the ActiveMdiChild property of the parent form to get tha active child form.
  • ActiveForm strangeness