This widget could not be displayed.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Silver Combo Box Display Style Bug

Solved!
Go to solution

[LV2011, Windows XP]

 

There appears to be a small bug with the Silver-style Combo Box control when you right-click and select Visible Items->Display Style.  For the string control a glyph appears properly, but for the combo box the glyph appears in the wrong place, and the colours are wrong.  In fact, the glyph only appears properly if you click on it, or do something else to force a redraw of the control.

 

 

This combo box is a bit confusing, since it has no "Radix Shadow" part like the string control does, and in fact only the Silver-style combo box lets you display the "Display Type" glyph.  The other styles of combo box have no "Display Type" feature in the "Visible Items" menu, but the "Display Style Visible" checkbox does appear on the "Appearance" tab of the Properties dialog box (though checking it has no effect, and it appears unchecked if you re-launch the dialog box".

 

I've attached a new version of the control which is close to fixing the bug, but the glyph region is 1 pixel skinnier than the string version.  Copy this to your "..\vi.lib\silver_ctls\String" folder if you want it to replace the version in the palettes.

 

Jaegen

0 Kudos
Message 1 of 3
(3,224 Views)
Solution
Accepted by topic author Jaegen

Jaegen:

Good catch, there is now a Corrective Action Request filed for this issue. It is correct that this property is
not supported by the Combo Box found in the Modern Palette. However, this should at least be documented in the
"Display Style Visible" property documentation if this is case, which it is not.

Thanks for alerting us to this error and if you would like to follow the CAR, look for CAR# 312717 listed in
bug fix reports for later releases of LabVIEW.

Please let me know if you have any questions or need any more help with this issue.


Tori W.

National Instruments
Message 2 of 3
(3,194 Views)

Hi Folks

 

Think i have found another bug in the Silver style Combo?

If i set the strings and values of the combo programatically by property nodes i get the strings and values set correct, but the dropdown arrow at the right sometimes is not active.

I can select in the list of items by selecting the control and using the arrow up/down keys.

If i replace the Silver style combo with a modern, system or classic style it's all working 

Any body knows about this phenomenon ??

Claus,CLD
0 Kudos
Message 3 of 3
(2,991 Views)