Einzelnen Beitrag anzeigen

ChEeTaH

Registriert seit: 12. Jan 2009
49 Beiträge
 
Delphi XE2 Architect
 
#3

Re: Ereignisse mehrer Controls in einem zusammenfassen?

  Alt 5. Dez 2009, 14:33
Hi danke für die Antwort.
Es gibt kein Event namens "Clicked".
Ich habe schon alles mögliche durchprobiert, aber es gibt kein "übergeordnetes" Event, dass alle Klicks abdeckt.
Es gibt ein Event, das aufgerufen wird, wenn man auf eine Section klickt und ein wenn man auf ein item klickt.

In der .chm steht folgendes:

Zitat:
TbsSkinButtonsBar
Unit
bsSkinCtrls

TbsSkinButtonsBar = class(TbsSkinPanel)

Description
Panel with buttons in sections

Properties
Name Type Description
Sections TbsButtonBarSections = class(TCollection) Sections collection
SectionIndex Integer Index of current active section
SectionImages TImageList Images of section-buttons
ItemImages TImageList Images in section-items
SectionButtonSkinDataName String skindataname property of section-button
ItemsTransparent Boolean If TRUE then items are transparent
ItemHeight Integer Height of item
DefaultSectionFont TFont Default font of section-button
DefaultItemFont TFont Default font of item

TbsButtonBarItem = class(TCollectionItem)

Properties
Name Type Description
ImageIndex Integer Index of image
Text String caption of item

Events
Name Type Description
OnClick TNotifyEvent event on item click


TbsButtonBarSection = class(TCollectionItem)

Properties
Name Type Description
ImageIndex Integer Index of image
Text String caption of item
Items TbsButtonBarItems = class(TCollection) Collection of TbsButtonBarItem

Events
Name Type Description
OnClick TNotifyEvent event on section-button click
Den Tag muss ich nicht setzen, da der ItemIndex mit dem des Notebooks übereinstimmt.
Miniaturansicht angehängter Grafiken
so_siehts_aus2_174.png   so_siehts_aus1_556.png  
  Mit Zitat antworten Zitat