I suspect part of your problem might be that the hierarchy for TSpeedButton
is different from TButton. TSpeedButton's immediate superclass is
TGraphicControl whereas for TButton it is TWinControl.
To have a help context, as far as I can see your control has to be
TWinControl or its subclass - TGraphicControl doesn't have a HelpContext
property so there is no built in mechanism for either TGraphicControl or any
descendant (such as TSpeedButton) to implement a HelpContext property (no
inherited handlers). BTW, a TForm is a subclass of TWinControl.
I prefer instead of using TSpeedButton to use TToolbar97Button which has
most of the missing properties (not the tab stop though)
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Patrick Dunford
> Sent: Wednesday, 11 August 1999 20:43
> To: Multiple recipients of list delphi
> Subject: RE: [DUG]: TSpeedbtn
>
>
> The reason a Speedbutton does not have a help context property is that
> speedbuttons cannot receive the keyboard focus, i.e. no focus rectangle,
> focus border, taborder, tabstop, default or cancel properties.
>
> I would suggest unless there is some compelling reason to use a
> speedbutton,
> why don't you just use an ordinary button or alternatively a 3rd party
> component.
>
> ============================================
> Patrick Dunford, Christchurch, NZ
> http://patrick.dunford.com/
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> > Behalf Of Alistair George
> > Sent: Wednesday, 11 August 1999 18:49
> > To: Multiple recipients of list delphi
> > Subject: [DUG]: TSpeedbtn
> >
> >
> > 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
>
> snip
>
> ------------------------------------------------------------------
> ---------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz