Jump to content

Popup Menu is Not Working in Delphi 2010


rencarnacion

Recommended Posts

  • 2 years later...

I'm having the same issue actually. Using D2010 if I create a popup menu it just does not show at runtime.

 

I know in normal Delphi you 'attach' a popup to the form but there is no popupmenu property on TUniForm. I have tried doing this at runtime (form oncreate) but still nothing and no errors coming out of the console.

Link to comment
Share on other sites

Hi Farshad,

 

I just looked at the demo which does work to see what you are doing.

 

You are actually checking for MouseDown within the container panel and then calling popup.

 

I was simply dropping a popup menu on a form and setting the forms popmenu property to unipopupmenu1. I guess this is just the 'web' way in that different containers can have a different popupmenu. I'm so used to the old Delphi way of dropping a popup on a form and setting properties.

 

Have to say first time I'm using unigui in anger and its awesome!

 

Regards

 

Gary

  • Upvote 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...