Jump to content

Recommended Posts

  • 2 years later...
Posted

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.

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...