I am using the TToolBar control. I am creating it in code and do not have the control on my form at design time. I need to have a varying number of buttons, this may change during the execution of the program. I can cannot figure out which button is clicked. If I add the button at DESIGN TIME its simple. If I am adding a varying number of buttons how do I detect which one is being clicked. I know it must be easy but I cannot figure it out.
Thanks
Thanks