Hi all. I have been beating around the bush (again) trying to get context
sensitive help on a derivation of a TSpeedbtn.
I am wrongly declaring it thus:
type
  TGradButton = class(TSpeedButton) //speedbutton does not have the
helpcontext property.
  private
    { Private Declarations }
    FHelpContext: THelpContext;
  published
    { Published Declarations }
    property helpcontext: THelpContext read FHelpContext
    write FHelpContext default 0;

Which puts it into the object inspector, but it is overriding the elipsis
and inherited biHelp context sensitive property in runtime.
Someone put me straight pse.  I have read the bible, and cant figure it out.
I dont think I have to do a button event for the inherited biHelp event do
I?
Tks,
Al+

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to