03-03-2009 06:23 AM
Dear all,
i want to know how can i set the default value of a numeric control during run time ?
Thanks,
Ritesh
03-03-2009 06:31 AM
Enter the number you like in the control. Then right click the control and choose "Make current value default".
Mathan
03-03-2009 06:54 AM
You can't set default values during run-time. These values stored in executable, and you can't modify executable.
You can only reinitialize control to default value.
So, you need to store your "default" values somewhere outside of executable - in ini file, or in registry. OpenG tools also very helpful.
Andrey.