取消
显示结果 
搜索替代 
您的意思是: 

Insert slider dynamically into slide control

Hi,
 
I've got a problem with a slide control. I want to realize a step control which can show several milestones.
The space between all these milestones should be coloured to be recognizable within one view.
 
So, I thought, the best solution would be a slide control.
 
BUT:
If you want to add a slider to the control your VI mustn't run. Because this isn't a dynamical property to add a slider.
 
But it's important for my application to visualize this.
 
Is there any other control able to do my task? Or have I to create a XControl?
And if I have to create a XControl how can I implement a new property?
 
I would be thankful for any help and thanks in advance.
 
Greets,
Joe

Message Edited by PatchProgram on 04-25-2006 07:35 AM

0 项奖励
1 条消息(共 7 条)
4,910 次查看
SImply add as many sliders as you will possibly need, then you can hide the unused ones during runtime using property nodes.
2 条消息(共 7 条)
4,900 次查看

This is exactly what I want to do.

I have a pointer slide and I want to add or remove a pair of sliders by clicking a add- or remove-button.

 

I placed the slide on the front panel, added several sliders to this slide and created a property node of the slide. Now I don't find a property to make one slider invisible. I can only make the whole slide invisible.... 😞

 

How can I make a slider (not the slide) invisible?

Greetings Johannes
Using LabVIEW 7.1 and 2009 recently
0 项奖励
3 条消息(共 7 条)
4,601 次查看

You can change the fill color to be transparent.

0 项奖励
4 条消息(共 7 条)
4,590 次查看

I stil have no clue...

Doesn't refer the fill colour property to all sliders?

What color number is transparent?

 

Attached some pictures:

1. a clueless try

2. the slider properties

3. the slider

 

No clue what to do

 

 

Slider_Property.PNG

 Slider.PNG

Greetings Johannes
Using LabVIEW 7.1 and 2009 recently
0 项奖励
5 条消息(共 7 条)
4,578 次查看

The value for transparent is 16777216. In LabVIEW 8.2 I have the "color box constant" for this value.

 

Regards, Vt133

 

0 项奖励
6 条消息(共 7 条)
4,564 次查看

 


johanneshoer wrote:

Doesn't refer the fill colour property to all sliders?

What color number is transparent?


 

To change the color of a particular slider, use a property node with two entries:

 

  1. active slider
  2. Slider color
For example, to change the second slider:
Wire the desired slider index to (1) and the desired color to (2). Use a colorbox diagram constant and select transparent.
(Also, feel free to support my related idea to simplify all this :))

 

 

7 条消息(共 7 条)
4,557 次查看