General information
Category:
Coding, syntax & commands
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only