Nicholas Ring
Nicholas Ring

Reputation: 1016

How to get TActionMainMenuBar drop down items to scroll when there are too many items to show

Does anyone know how to get a TActionMainMenuBar with TThemedPopupMenu to act like the standard menus, in that if there is too many items to fit on the screen (vertically), two scroll buttons appear (one top, one bottom)?

I have tried:

It sort of looks like this:

+---------------------+
|         ^           |
|         v           |
+---------------------+

Instead of something like this:

+---------------------+
|        File         |
+---------------------+

The reason for setting these properties is because TCustomActionDockBar.SetAllowScrolling is only set to true when "AllowScrolling and (Orientation = boTopToBottom))"

The only reference on the Internet I have found about this type of thing is Brian Long's "Actions, Action Lists And Action Managers"

Does anyone know if it is possible to get Action Managers to scroll vertically? or are there any references that might help me out?

Upvotes: 1

Views: 371

Answers (0)

Related Questions