Stephane:
Unfortunately, it is not possible to set the "Value Pairs Only" option of the CWSlide control programmatically. The controls do not always expose a property or method that corresponds directly with a setting in the property pages. I suggest either setting this option through the property pages, or using the "Import Style" method to import a CWSlide configuration that has the settings you want. You can call this method programmatically, so you can use this as a workaround of sorts if you would like to change the slide at run-time, or want to dynamically create sliders with the "Value Pairs Only" option enabled.
Also, although you can't set this option programmatically, you can add and remove Value Pairs programmatically.
Good Luck,
Chris Wood
Applications E
ngineer
National Instruments