Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Common Dialog
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01057142
Message ID:
01057449
Vues:
16
>Greetings Experts!
>
>I am utilizing the Windows Common Dialog to open multiple files from within my application. Works fine, except it is detemined to show itself in the upper left hand corner of my main form as a top level window.
>
>My question is, "How do I get it to appear centered within my main app window?"
>
>I have looked through the class properties and methods and cannot find any clue as to how.
>
>Any and all assistance is greatly appreciated.
>
Vince,

The Common Dialog positions itself below and to the right of the window that calls it. What I did was to create a small form that contained the control that I could position as desired.

In retrospect, however, I wonder if the "view is worth the climb". In order to center it, you have to take into account the screen resolution and the size of the dialog itself. Further, you would not be emulating the standard Windows behavior.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform