Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mouse wheeling
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01040785
Message ID:
01040794
Vues:
11
Martin,

The nDirection cannot be both negative and positive at the same time. It's better to use DO CASE...ENDCASE for readability.
DO CASE
CASE nDirection<0
   * first action
   * move container top
CASE nDirection>0
   * second action
   * move container bottom
ENDCASE
>
>If nDirection<0
>   * first action
>   * move container top
>endif
>if nDirection>0
>   * second action
>   * move container bottom
>endif
>
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform