Hello JB,
The 'Down' state is useful for controlling the button up/down
state from say a timer event.
The 'GroupIndex' allows a group of SpeedButtons to act like
radio buttons. A value of 0 switches this feature off.
C# doesn't seem to have anything like this.
True, there isn't a one-to-one mapping in these features between OWL
(Borland C++) or VCL (Borland C++Builder) and C#/WinForms.
However, .NET's ToolStrip container and its ToolStripButtons have a property
called Checked (and the linked CheckedState property) that is essentially
the same as your TSpeedButton's Down property. Yes, the button doesn't go
"down", but instead changes color, which is the modern Windows convention to
the older 90s convention/visualization used by Borland C++.
Now, GroupIndex is something I think you cannot do without coding, at least
from the top of my head. However, creating a group of ToolStripButtons that
would act as a group is almost trivial. In fact, you might wish to inherit
your own buttons from ToolStripButton, which could have this feature
implemented "built-in".
Hope this helps.
--
Regards,
Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi http://www.saunalahti.fi/janij/