Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form as Top Level Form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00059458
Message ID:
00059697
Vues:
35
>>>Hi all,
>>>
>>>I've tried to design a form to come out as Top-Level Form (ShowWindow property/SDI). When I run my program, everything is OK except the window is not focus. If I have Explorer on, the window will be behind Explorer. Please help.
>>>
>>>Thanks,
>>>Farouk Yew Abdullah
>>
>>Try setting the .AlwaysOnTop property of the form to .T.
>
>i've had this same problem and i got around it using the FindWindow api call to get a handle to the window
>and then using the BringWindowToTop api call. seems to work pretty good.

I've used a Setfocus in the form init for this...I guess there are several ways of handling it...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform