Quantcast
Channel: Planet Object Pascal
Viewing all articles
Browse latest Browse all 1725

Behind the connection: Where is that MenuItem displayed ?

$
0
0
I had the need to display a form when the user clicks on an item in a menu. Easy! But the form, which is small had to be displayed where the MenuItem was displayed. After Googleling a little bit, I did not find what I needed. So I wrote it. Here is the result. In Delphi, a TMenuItem has no property to tell where is has been displayed. I had to find how to get that information. Among TMenuItem

Viewing all articles
Browse latest Browse all 1725

Trending Articles