annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

long pull down menu with no vertical scrollbar

Risolto!
Vai alla soluzione

Folks,

 

it's been already 3.5 years ago when we had to learn that there is no way to have a long pull down menu control without a vertical scrollbar. See

 

http://forums.ni.com/ni/board/message?board.id=170&message.id=217428&query.id=395029#M217428

 

Now, after we got LabVIEW 8.6.1 there is still no opportunity to suppress the vertical scrollbar though there is a property node "Vertical Scrollbar Visible" for combo boxes. As Smercurio already observed in 2006 with the LV 8.2 combo box, this property node does not have any effect, probably due to a bug. This behaviour is still the same with LV 8.6.1.

 

Just a few days ago a user of our software complained that items in the menu would be missing. In fact they weren't but rather he oversaw the scrollbar and did not scroll down the column -- that's why he didn't find the menu items. In general it's quite inconvenient if one has to scroll down first before one can select a particular item. In most cases the scrollbar is simply useless since the panel is tall enough to show all menu items at the same time.

 

How are you designing a long pull down menu on your user interface? Any ideas how to circumvent the nasty scrollbar?

 

Sorry for the rather lengthy post. I am afraid you had to use the vertical scrollbar while reading through my text...

 

Thanks for any contribution,

Peter

 

 

0 Kudos
Messaggio 1 di 7
3.939Visualizzazioni
If you're running on Windows you can use the ActiveX Combobox.
0 Kudos
Messaggio 2 di 7
3.921Visualizzazioni

Smercurio,

 

interesting suggestion. Is there any possibility to make the combo box look more like a ring control? I tried to customize the control in that way but there are only very limited options. The ActiveX Property Browser doesn't help either. What is behind Advanced > "design mode"? Unfortunately NI doesn't provide any description for the combo box.

 

Thanks,

Peter

0 Kudos
Messaggio 3 di 7
3.897Visualizzazioni

stoeckel wrote:

 

Unfortunately NI doesn't provide any description for the combo box.


That's because it's not from NI. It's from Microsoft, so all the documentation can be found on MSDN. The one I used in that example is the ActiveX version. There's a .NET version as well. 

0 Kudos
Messaggio 4 di 7
3.880Visualizzazioni
Soluzione
Accettato da autore argomento stoeckel

stoeckel wrote:

Any ideas how to circumvent the nasty scrollbar?


 

I think this does what you are asking.  It works for any named numeric control, and I think a little modification will make it work for a combo box too.

 

Jim

Messaggio 5 di 7
3.855Visualizzazioni

Clever, but that's cheating. Smiley Strizza l'occhio

 

I suspect a more elegant solution would probably be an XControl. 

0 Kudos
Messaggio 6 di 7
3.846Visualizzazioni

smercurio_fc wrote:

Clever, but that's cheating. Smiley Strizza l'occhio


It gets the job done.  Smiley Felice

 

I tried an XControl, but couldn't figure out a way to keep the context menu for the ring control.  Without the context menu, it's difficult to edit the items in the control.

 

So I settled for the solution provided.

0 Kudos
Messaggio 7 di 7
3.843Visualizzazioni