Diese Seite mit anderen teilen ...

Informationen zum Thema:
WinDev Forum
Beiträge im Thema:
Erster Beitrag:
vor 2 Jahren, 5 Monaten
Letzter Beitrag:
vor 2 Jahren, 5 Monaten
Beteiligte Autoren:
David Egan, Tor-Bjarne, DerekT, GuenterP

[WD20] Ribbon Control

Startbeitrag von David Egan am 07.10.2015 04:17

Is there a trick to placing controls into a Ribbon Control?

I try to drag a control into it, sometimes it works, sometimes it doesn't. I find the only way I can get multiple controls into a group is to get the first one in, then make it really wide which expands the grouping so I can get another one in & then shrink it down. Even then many times it doesn't associate the control with the ribbon so I find myself wasting a lot of time on what should be a very simple job.

I'm just about to give up on them altogether but I do like the way it looks. Surely its not meant to be this hard!




Apparently it is indeed 'this hard' - and pretty frustrating.
Placing the first control and expanding the grouping is the only way I have found.

Dragging or cut&paste of an existing window control into a group rarely if ever works.
I always select new from the menu and ensure that the grouping border is highlighted green before placing it.

von DerekT - am 07.10.2015 08:02
Hi, PC Soft announced in [ 54 ] of the v21 brochure that they will do / did something in regards to the ribbon control.

von GuenterP - am 07.10.2015 09:26
Thanks guys, what a PITA.


von David Egan - am 07.10.2015 19:02

Yes, there are some quirks with the ribbon control.

A Tip - when you copy a group of buttons to a ribbon group, the group itself will actually get green-highlighted when you can Drop your controls.

Usually only half of them will show in the Ribbon control (The rest will be outside (but in the group) on the left) - Since the controls already are selected use Ctrl-Arrow-right to get all of them visible in ribbon control.

When you have (as me) panes with a lot of ribbon groups, the easy way to modify the code/controls (without search/solution explorer) is to move the group to a empty Pane, and move back(up) after change.


von Tor-Bjarne - am 08.10.2015 10:10
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.