Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refresh order problems
Message
De
19/01/1999 13:30:51
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00174120
Message ID:
00177683
Vues:
29
>Terry,
>
>I'd try and steer you away from code that is that order dependent. If you use the Send To Back and Bring To Front you can control the order of the records in the SCX, but again this isn't an optimal solution.
>
>The Refresh() event is designed to allow a control to reflect a change in it's underlying ControlSource, ie a record navigation. It sounds more like you need to be using the Valid(). But the order dependency can still be really bad. Users can use the mouse to sequence through controls in any order they feel like.
>
>If you've got several controls to validate as a group in a particular order I'd use one custom Form method that processed each control in order, if invalid data is there the method can SetFocus() to the appropriate control. Then all of the controls Valid() methods just look something like:
>
>DoDefault()
>return thisform.Validate()
>

David

I used the set to front button with no success. Nothing seems to have gotten rearranged. Am I doing something wrong?

Terry
It is impossible to make programs idiot proof. Idiots are too cleaver.

MCP( Tcp/Ip )
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform