02-15-2013 04:31 AM
hi all,
just used the progressbar.fp the first time inside a project. two things dont like me:
->in marquee-mode the moving part of the bar is flickering and is not visualized in an optical good manner
->I'm not able to set the marquee-speed (tried it AFTER converting the slide to a progressbar and BEFORE starting it). if I set the speed over calling Progressbar_SetAttribute() the progressbar doenst run anymore. I also tested it inside the progressdemo-example - the same result.
any idea ?
(CVI2010 in XP)
best regards
Simon
02-18-2013 06:19 AM
Hi Simon,
can you attach your example? What do you mean by "marquee-mode"?
Best regards
Suse
02-18-2013 09:13 AM
Simon,
How are you setting the speed of the marquee? Note that SetAttribute function uses a variadic parameter, so if you're passing it a numeric constant, you must be careful to use a double, otherwise the compiler will mangle it.
I tested the following and it seems to work:
ProgressBar_SetAttribute (panelHandle, PANEL_PROGRESS, ATTR_PROGRESSBAR_MARQUEE_SPEED, 80.0);
Luis
03-06-2013 02:39 AM
hi luis,
you are right - that was it.
thanks and best regards
Simon