vb6: activate form while hiding

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • muddasirmunir
    Contributor
    • Jan 2007
    • 284

    #1

    vb6: activate form while hiding

    Well, while the form was load i hide the form by

    Code:
    form1.hide
    but teh problem is if i hide the form , the activate event of form does not run/trigger.

    Is this possible to activate the form activate event while the form was hiding.

    If this is not possible then , can i hide the form by apply some tranparacy =0 at load tiem and make traparancy=100 after activate even , if this possible then how to control tranparacy of the form.
  • CyberSoftHari
    Recognized Expert Contributor
    • Sep 2007
    • 488

    #2
    you can use
    Code:
    frmNAME.Unload
    And try again. Did you enabled the active form?

    Comment

    • vb5prgrmr
      Recognized Expert Contributor
      • Oct 2009
      • 305

      #3
      you can call the activate event from form_load...
      Code:
      Private Sub Form_Load()
      Me.Visible = False
      Form_Activate
      Me.Visible = True
      End Sub


      Good Luck

      Comment

      Working...