08-02-2005 07:50 AM
08-03-2005 10:37 PM
ToNi,
The reason the reinitialize all to default doesn't affect these attributes is that they are not values. The attributes you describe (the enabled state of a control and the items in a listbox) are properties, not values. There is no default for the properties of a control. Your best bet is probably to set the properties that you want in an initialization step at the beginning of your program. You could also call the Revert VI method, however this requires that the VI be in edit mode, and therefore it must be called from a separate VI while the main VI is not running. At one point OpenG had some Configuration File utilities which had routines for setting default values, I don't remember if they also had an option for saving and reloading properties. Unfortunately, I can't seem to find them right now, but you could look around. OpenG.org would probably be the best place to start.
Regards,
Ryan K.
08-05-2005 06:02 AM - edited 08-05-2005 06:02 AM
Message Edited by tst on 08-05-2005 02:05 PM