Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modal Screen problems
Message
De
02/11/2007 18:46:49
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
02/11/2007 08:07:45
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01266012
Message ID:
01266229
Vues:
19
>She says,
>first put .t. and after that line put .f. ? Or I did a misunderstand?

That's one of the most unintuitive tricks out there, but even I was able to invent it when I needed it. The logic goes like this: my form doesn't get in front, it stays behind. I'll try .setfocus(), I'll try .show() and a few others, and when nothing else works, I'll be surprised that there's a property called .alwaysOnTop - cool, that one works. Except that I don't need my form to be exactly always on top - well, set this back to false right after. And voila, it behaves like we wanted it :).

Looks crazy, but my back don't hurt no more.

>>Hi Neil,
>>
>>See if Re: Modal form loses focus to calling form and app stops Thread #1021703 Message #1022189 could help
>>
>>>
>>>Is anyone having problems with modal screens occasionly loosing focus and then unable to regain focus.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform