Instead of form_activate()

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Adam Honek

    #1

    Instead of form_activate()

    In VB6 and earlier we had a form_activate() event whereby it always fired
    every
    time the form gained was focussed.

    In VB.net I don't see it and we have a _activate() event.

    What event would I use for the background form to refresh once the
    foreground
    form has been closed?

    _Enter

    _Shown

    ???

    TU,
    Adam


  • Herfried K. Wagner [MVP]

    #2
    Re: Instead of form_activate()

    "Adam Honek" <AdamHonek@Webm aster2001.frees erve.co.uk> schrieb:[color=blue]
    > In VB6 and earlier we had a form_activate() event whereby it always fired
    > every
    > time the form gained was focussed.
    >
    > In VB.net I don't see it and we have a _activate() event.[/color]

    Handle the form's 'Activated' event instead.

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://classicvb.org/petition/>

    Comment

    • Adam Honek

      #3
      Re: Instead of form_activate()

      Indeed, not sure why I didn't think this up myself :(

      Thanks,
      Adam

      "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
      news:eAolv8AZGH A.4120@TK2MSFTN GP04.phx.gbl...[color=blue]
      > "Adam Honek" <AdamHonek@Webm aster2001.frees erve.co.uk> schrieb:[color=green]
      >> In VB6 and earlier we had a form_activate() event whereby it always fired
      >> every
      >> time the form gained was focussed.
      >>
      >> In VB.net I don't see it and we have a _activate() event.[/color]
      >
      > Handle the form's 'Activated' event instead.
      >
      > --
      > M S Herfried K. Wagner
      > M V P <URL:http://dotnet.mvps.org/>
      > V B <URL:http://classicvb.org/petition/>[/color]


      Comment

      Working...