Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mouse Pointer - Changing
Message
De
19/10/1998 15:41:40
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
18/10/1998 21:26:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00147116
Message ID:
00148275
Vues:
44
>>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).

What? I thought it would reset to the value in the class definition - that should be the default. I mean its own class, not baseclass. I'll have to recheck the help on this.

>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.

Sure, as any other thing which goes down every control, it should recurse (or be cursed ;).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform