04-08-2011 12:36 AM
Hi Haik,
in general, i.e. true for any forum, if you have a question that is different from the one discussed in a particular thread, you should not 'hijack' it but rather start a new one with your own subject Imagine everyone would join, it would result in one thread with an inestimable number of subjects...
04-08-2011 09:23 AM
Creating your own buttons for scrolling has been mentioned a couple times, so I thought I would make a quick example of this. I hope that you will find it useful, and that perhaps it will help to address the issue raised by Wolfgang in the Idea Exchange.
In the attached example are two files that should be generally useful - UpDownArrows.c and UpDownArrows.h. These files expose one function - AddUpDownArrowsToCtrl. You give this function the control (and panel) to which you wish to attach inc/dec buttons, and a function that will be called when the buttons are clicked. This function will be defined by you, and will respond to either an up or down button click. This way, you can define how the control should increment or decrement.
I hope this is helpful -
NickB
National Instruments
04-08-2011 10:17 AM
Quite fancy!
While I need to study the code in more detail, it looks and works very nice... Are you considering to add it to future releases of CVI, either as toolbox sample or as a real function? You have my vote and kudo
Many thanks, Nick!