Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mouse Pointer - Changing
Message
From
18/10/1998 21:26:59
 
 
To
18/10/1998 19:16:37
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00147116
Message ID:
00147998
Views:
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).

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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform