Author Topic: Little slow round here - Modeless Forms . . .  (Read 3440 times)

0 Members and 1 Guest are viewing this topic.

jbuzbee

  • Swamp Rat
  • Posts: 851
Little slow round here - Modeless Forms . . .
« on: April 09, 2008, 12:25:14 PM »
If a modeless form is NOT active, do events still fire?  Like OnEnteringNoDocState?  They don't seem to, just askin.  Thanks.
James Buzbee
Windows 8

owenwengerd

  • Bull Frog
  • Posts: 451
Re: Little slow round here - Modeless Forms . . .
« Reply #1 on: April 10, 2008, 08:04:02 PM »
They certainly should fire. If they don't, then something fishy is going on.

jbuzbee

  • Swamp Rat
  • Posts: 851
Re: Little slow round here - Modeless Forms . . .
« Reply #2 on: April 11, 2008, 10:33:08 AM »
Everything is fine:  Iwas just wondering if I need to do something like;

Code: [Select]
(if (dcl_form_IsActive myForm)
*Do Something
*Do Nothing
)

But I guess if it really doesn't matter - like OnDocumentActivated I would need to re-initialize the form for local document conditions.  Guess it doesn't really matter if the form is active or not?
James Buzbee
Windows 8

owenwengerd

  • Bull Frog
  • Posts: 451
Re: Little slow round here - Modeless Forms . . .
« Reply #3 on: April 11, 2008, 03:41:19 PM »
Ah, I misunderstood.  By "active" I thought you meant "has the input focus".  You are correct, if a form is not currently active (i.e. an instance of the form exists), none of its events will fire.

jbuzbee

  • Swamp Rat
  • Posts: 851
Re: Little slow round here - Modeless Forms . . .
« Reply #4 on: April 12, 2008, 07:24:49 AM »
Sweet - thanks.
James Buzbee
Windows 8