Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG: Form Activate() fired after GotFocus() events
Message
 
 
À
30/05/2003 06:40:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00794420
Message ID:
00794874
Vues:
11
Hi Fabio,

Why there's so many combinations? Can you tell which one I've to run to see a bug?

>Hi
>
>i have found one bug:
>- in particular cases, the event Activate() of a Form, happens after the GotFocus() events. It seems to depend on the execution speed.
>
>Code for search bug, remove #define commented for change form type.
>
>* Comment #DEFINE for combination mode
>*#DEFINE _TOP_
>*#DEFINE _NOTASKBAR_
>
>PUBLIC oform1,g_flag
>
>oform1=NEWOBJECT("form1")
>oform1.Show
>_SCREEN.Show
>\
>\ Sequence 1: EVERY COMBINATION
>\ Click on Desktop
>\ Click on FormTop Title
>\
>\ Sequence 2: EVERY COMBINATION
>\ Minimize FormTop
>\
>\ repeat since get bug
>\ Click on VFP MAIN Title
>\ Click on FormTop Title, retain minimize status
>\
>\ Sequence 3: #define #_TOP_
>\
>\ repeat since get bug ( improbable )
>\ Click on VFP MAIN Title
>\ Click on FormTop Title
>\
>\ Sequence 4: #define #_TOP_ and #_NOTASKBAR_
>\
>\ repeat since get bug
>\ Click on VFP MAIN Title
>\ Click on TaskBar FormTop Title
>\
>
<snip>>
>
>I found on VFP6/7/8.
>
>Fabio
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform