Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Release event too soon
Message
De
02/10/2003 08:05:21
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00834175
Message ID:
00834182
Vues:
25
>Cetin, I've been having problems with the dataenviroment, so I've had to use auto open=.T. and autoclose=.T.
>
>I've also had to stick a close data in my form release, is this the last method to run on my form when it closes?
>
>Something is running the valid event on my grid (editgrid of Foxyclasses), when I run another form from the calling form.
>
>Hope i'm explaining myself okay here?

Robin,
As per the dataenvironment if you use private datasessions for your forms you should be OK w/o playing with DE properties.

EditGrid class has code in valid ensuring it work arounds grid valid bug (if a control in grid has a validation code and you click outside of grid validation is not done). If you're going to another form while you've hanging validation EditGrid might prevent you from doing that. However there is a flag that enables yuou to that and come back to grid. Check sample form's ReportsTo field textbox code. It disables the validation temporarily, launches a locatorgrid form to get the supervisor and returns it to column.
Hope this was what you're saying :)

Update: If for any reason you need to play with data manually use unload event.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform