Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modal Screen problems
Message
From
02/11/2007 18:46:49
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
02/11/2007 08:07:45
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01266012
Message ID:
01266229
Views:
18
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform