delphi - How to have a list of options when clicking a TButton on Firemonkey? -


i know tbutton on firemonkey let me add tpopup menu. works when right click it.

i need make open right below button when normal click.

popupmenu.popup(x, y) based on form believe. how translate x,y of button (that deep inside other layouts) same coordinate?

and when clicking , popup shown weird behavior happens selection bar of popup menu disappear. button keeps pressed, good.

expected appearance

look here:

http://blogs.embarcadero.com/sarinadupont/2013/10/17/463/

is example mobile, use in desktop too.


Comments

Popular posts from this blog

C# random value from dictionary and tuple -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -