ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Possible bug disabled & grayed Listbox?

Solved!
Go to solution

And just a side note:

 

Disabled is disabled, but what is the definition of Disabled in this case:

- Disable direct interaction with the control (by drag and dropping things from inside the disabled control)

- Disable indirect interaction with the control (by drag and dropping things from another enabled control inside a disabled control)

 

Please keep in mind that for the dragging you're using Drag Events and some of these (like Drop) are not disabled when you disable a Listbox.

However, you could disable the standard behavior also from an event structure seeing that the drop event is a filter event. 

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 11 of 16
(969 Views)

Like an replier said

 

Disabled mean you can't change the value.

0 Kudos
Message 12 of 16
(966 Views)

You can still change the value of a disabled control (in a programmatic way).

 

That's the point I wanted to get to.

As far as I know the dragging and dropping functionality is done in a programmatic way through a hidden event handling loop (don't shoot me down for the simplification).

Seeing that this part is not disabled by using the disabled property of a Listbox (based on my own experience also) this must mean that in that "hidden part" the Disabled property is not "used".

 

I know that and I read the post, but can you please explain me your specific use case where you will use this.

 

I will create the Corrective Action Request and I would like to give it the biggest chance of being changed in a future versions.

Use cases and especially how this effects your current programming are in this case the most import factors.

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 13 of 16
(962 Views)

Just for completeness:

 

The Corrective Action Request will be created and I just want to give this CAR the biggest impact it can have. 🙂

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 14 of 16
(956 Views)

Did you receive the last notification about the post?

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 15 of 16
(939 Views)
Solution
Accepted by Franzo

Hello,

 

Thanks for the update through mail.

 

The CAR has been created: #408106.

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 16 of 16
(934 Views)