Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Common Dialogs
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Common Dialogs
Divers
Thread ID:
00214984
Message ID:
00214984
Vues:
49
Hi Troops,

I've noted some differences in the behavior of the Common Dialogs ActiveX control, dependent on how the control is created, that I thought I might share.

There have been a number of questions regarding controlling the placement of the dialogs produced by the control. After some research, I've learned the following.

In those instances where the control has a physical presence (in other words, is dropped on a form) the position of the dialog is relative to the top and left properties of the form.

In those instances where the control does not have a physical presence (in other words, is subclassed programmatically) the initial location will always be at 0, 0 in relation to the Windows Desktop (not VFP).

In both cases, if the user moves the dialog, subsequent calls to it will appear at the last shown position.

In order to replicate this behavior, you will have to re-start VFP each time prior to creating the objects.
George

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

Click here to load this message in the networking platform