Commandproperties Containedcontrol

Caption = '&Search:' Marco Cantu, Delphi 2009 Handbook

CommandStyle = csControl CommandProperties.Width = 150 CommandProperties.ContainedControl CommandProperties.LabelWidth = 50 end item

Caption = '&Pick:' CommandStyle = csControl NewRow = True

CommandProperties.Width = 150 CommandProperties.ContainedControl CommandProperties.LabelWidth = 50 end>

ActionBar = RibbonGroup7 end>

Again, the ActionManager architecture and the new Ribbon control with its support classes have so many features, that I could go on for many more pages covering them. Here, in any case, are a few more interesting suggestions (not shown in practice in my demo):

  • You can customize the Application menu, for example changing the "Recent Documents" caption or the icon size by using the ApplicationMenu property of the Ribbon control.
  • Similarly, you can customize the behavior of the Quick Access menu by setting various sub-properties of the QuickAccessToolbar property of the Ribbon control
  • The reason you don't set a size for the Ribbon groups but let them adapt to the size of the contained items is due to a specific request of the Fluent UI Design Guidelines.
  • Users can right-click on Ribbon items to add them to the Quick Access Toolbar and perform related operations.
  • ButtonedEdit1
  • TreeView1

Was this article helpful?

0 0
Project Management Made Easy

Project Management Made Easy

What you need to know about… Project Management Made Easy! Project management consists of more than just a large building project and can encompass small projects as well. No matter what the size of your project, you need to have some sort of project management. How you manage your project has everything to do with its outcome.

Get My Free Ebook


Post a comment