Hey Tirans,
Oh wow that was an easy Fix, thank you very much. What did you mean by "actions" i did a quick google search couldnt find much info on it.
On the component palette, Tab Standard, First from the Right:
TActionList.
Drop one of those on your form and right-click to access Action Editor.
There are lots of components that accept a
TAction on their properties: Property Action, right at the top.
Things like Buttons, Menus, etc.
This helps you with having a single place to have code and then have a menu and a button have the same action.
And you can set: Caption, Font, Hint, ...., Short-Cut, that will then be automatically replaced on the button or menu.
That's how you do to have a menu and a button on a toolbar do the same thing and respond to the same short-cut, like say: Open (Ctrl+O)
Nice hum?
Cheers,
Gus