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.
look here:
http://blogs.embarcadero.com/sarinadupont/2013/10/17/463/
is example mobile, use in desktop too.
Comments
Post a Comment