Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Elegant Ribbon Tech Support » PopupMenu VerticalScrollPosition example Collapse All
Subject Author Date
Jorge Arias Sep 4, 2009 - 5:25 PM


How can I use the VerticalScrollPosition of the PopupMenu?

This is my code

Elegant.Ui.PopupMenu popInformation= new Elegant.Ui.PopupMenu();

for(i = 0 ; i < 10;i++)


/// add some items


popInformation.VerticalScrollPosition = 15;

No matter what value I set the VerticalScrollPosition remains in 0;


Thanks in advance.


Technical Support Sep 7, 2009 - 1:29 PM

We will look into the problem and give you an answer tomorrow. Thank you

Jorge Arias Sep 7, 2009 - 2:09 PM

Thank you for your reply.
I’ll check it tomorow.

Technical Support Sep 8, 2009 - 1:15 PM

This property is used when the number of items in a popup menu is to big to fit vertical bounds. In this case scroll buttons appear and you can then scroll up/down the content of the menu. The scrolling step is one pixel, the maximum scroll value is determined by the property VerticalScrollMaximum. In your case, probably, there are to0 few of items in the menu, so the menu simply ignores your attempts to change the VerticalScrollPosition property.