Hi,

I want to show a popup menu when i (left) click on an (iconic) button. I think it is a very nice way to show for example a list of options. I looked, but there is an api_application.getRightClickPoint() , but no equivalent to the left clickpoint :( I also checked api_component, but cannot find like getXYPosition or something returning an api_graphics.t_point record.

Am i overlooking something or is this currently not possible? If its not possible, could you add this please?

Thanks, Michiel

asked 10 Jul '12, 05:21

Michiel%20A's gravatar image

Michiel A
5161541
accept rate: 13%


Hi Michiel,

You cannot get the left clicked point at the moment. We will add the API on 1.2 version.

Regards, Samet

link

answered 10 Jul '12, 06:08

Samet%20Basaran's gravatar image

Samet Basaran
1372
accept rate: 24%

Great service again ;)

Thanks, Michiel

(10 Jul '12, 06:11) Michiel A

Hi Michiel,

We cancelled adding this API to Formspider. Because we believe it is not the appropriate solution for your use case. The solution is drop-down MenuButton component. It is missing right now but we will add it to Formspider on the next version(1.3) which will be released before the new year.

Regards, Samet

link

answered 22 Oct '12, 07:27

Samet%20Basaran's gravatar image

Samet Basaran
1372
accept rate: 24%

But to get the location of left click would be a great feature! I just wanted to open a question about why there is api_application.getrightclickpoint but no api_application.getleftclickpoint until I found this thread. I also have a popup menu but I want to show a dialog after selecting one of the two menu items. I cannot dynamically position the dialog without knowing where the left mouse click happened. Instead it opens in the center of the whole application which is very inconvenient.

link

answered 17 Dec '13, 08:59

Mazzel's gravatar image

Mazzel
31114
accept rate: 0%

edited 17 Dec '13, 09:00

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×1
×1

Asked: 10 Jul '12, 05:21

Seen: 1,300 times

Last updated: 17 Dec '13, 09:00

Related questions


© Copyright Gerger 2017