Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Common Dialog ShowOpen()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00681407
Message ID:
00681545
Vues:
14
>Hi All,
>
>I was curious if anyone knows how to make sure that the common dialog box opens in the middle of the screen. I got it to work and can set all kinds of properties, but I was not able to control where it appears on the screen. MSDN has an example for VB, and it says to use .Top and .Left properties which are not available in FoxPro. Any thoughts?

It seems that the position of the dialogs is always relative to the upper left corner of the form on which the control is placed. You might try placing the control on a form and manipulating the form's post position.

Alternatively, there's is an unsupported COM wrapper for calls to the Common Dialog DLL. The various forms all have a Center property that allows the caller to specify if the dialog is to be centered. See MESSAGE#658015 for details.
George

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

Click here to load this message in the networking platform