Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Descriptive File Types with PUTFILE()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00574248
Message ID:
00575268
Vues:
58
>I noticed that if I added the following line to dialoghandler()
>
>
>nFlags = nFlags + OFN_ENABLESIZING
>
>
>Dialog starts suddenly to remember its previous position. Next time it opens with the size and position where I moved it previously.
>However, next time when I start my application, it starts at upper-left corner again.
>Where the dialog saves its coordinates between invocations ?
>
I haven't used the _cmndlg class in VFP 7.0. It interfaces directly with the necessary API calls. I have used the ActiveX control (and still do). First, I've noticed the behavior you mention, but have no idea how the control "remembers" its previous location within an application session. Both the ActiveX control and the API calls demonstrate the exact same behavior in this regard. One of the benefits of using the ActiveX control, however, is that its initial position is relative to the form it's placed on. Therefore, it does give you some control over the dialog's position.
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