Autor Beitrag
giantdwarf
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 35


Delphi 5, Delphi 2006 Prof, Delphi 2009
BeitragVerfasst: Mi 19.11.08 14:36 
Hallo zusammen,

Ich habe meiner Application eine TRibbon-Komponente zugefügt. Dieser habe ich ein Anwendungsmenü hinzugefügt. Der CommanType des Anwendungsmenu ist ctRecent. Den RecentItems habe ich per Add einen Eintrag hinzugefügt (Diesen sieht man auch, wenn das Menu aufgerufen wird). Ich habe einen Eventhandler für OnRecentItemClick geschrieben. Aber dieser Eventhandler wird beim Klick nicht aufgerufen. Hat irgendjemand eine Idee warum nicht?
freedy
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 403
Erhaltene Danke: 1

Winows 7
Delphi XE
BeitragVerfasst: Mi 19.11.08 14:54 
Hallo,

von wem stammt denn die TRibbon-Komponente. Kann dein Problem so nicht nachvollziehen.

Grüße
giantdwarf Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 35


Delphi 5, Delphi 2006 Prof, Delphi 2009
BeitragVerfasst: Mi 19.11.08 15:04 
Die bei Delphi 2009 dabei ist, Palette Ribbon-Steuerelemente. Hab' grad das Update zu Delphi 2009 installiert, da dort einige Bugfixes zu der Komponente waren. Hat aber leider auch nichts genützt.
giantdwarf Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 35


Delphi 5, Delphi 2006 Prof, Delphi 2009
BeitragVerfasst: Mi 19.11.08 15:13 
Problem gelöst: ich habe RibbonApplicationMenuBar1.RecentItems.Add verwendet, damit geht es nicht (s.o.). Wenn man aber TRibbon.AddRecntItem verwendet, dann geht es.