Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mouse Pointer - Changing
Message
De
18/10/1998 21:26:59
 
 
À
18/10/1998 19:16:37
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00147116
Message ID:
00147998
Vues:
45
>How about
>
>for i=1 to ThisForm.ControlCount
> ThisForm.Control(i).ResetToDefault("MousePointer")
>next

Good thought, but in trial what it does is reset it to the original value for that type of object, rather than what you had set it to (either during runtime or by modifying the class).

Another point when testing this (and I started this error), is the command should be x.ControlS(i), not x.Control(i).

Also, of course, Vlad is correct that for each control on ThisForm, you would have to recurse the function, picking up any controls on that control.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform