Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple Windows
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00546466
Message ID:
00546469
Vues:
20
>Hi all,
>
>Is there a simple way to prevent a second window from going into edit mode? (In this application users have to click on a button to enter edit mode.)
>
>
>The requirement: Allow multiple application windows open but only allow one to be in edit mode.
>
>I was thinking of adding a property to the _Screen object or the application object to keep track of which window was currently in edit mode. Then as successive windows are opened check the property and not allow editing. My first thought was to use the form name but in futher thought think that some sort of unique identification would be necessary as each form as activated.
>
>Anyone done this, have any ideas, comments about this idea, or can tell me if I am on the right track.
>
>Thanks...
>
>Robert

Why not just have an edit mode flag t/f on your app object? If you are only going to allow one form to be in edit mode, what difference does it make to the application which one it is?
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform