Recent

Author Topic: Implement DropDown Menu in a BGRAButton  (Read 2879 times)

Hydexon

  • Full Member
  • ***
  • Posts: 166
Implement DropDown Menu in a BGRAButton
« on: August 12, 2012, 12:03:06 am »
how can do it?, please its some important...
Lazarus 1.0.4 Stable - FPC 2.6.0 - gtk2 | Linux Mint 14 Nadia | GNOME Shell 3.6.2 - Awesome | Intel x86 | HP Mini 1020-LA Netbook (old)
Lazarus 2.0.2 Stable - FPC 3.0.2 - Windows | Lenovo IdeaPad Y

lainz

  • Guest
Re: Implement DropDown Menu in a BGRAButton
« Reply #1 on: August 12, 2012, 01:34:29 am »
A drop down menu with OS default menu is available. Just add a TPopupMenu, assign it to your BGRAButton (or BCButton), then set property Style to 'bbtDropDown'.

If you want a drop down menu made of BGRAButton... no idea..

maybe.. You can show / hide group of BGRAButton to make a 'drop down menu', when you clic the menu show all the buttons, when you clic one of the buttons hide all of them, except the menu.

Hydexon

  • Full Member
  • ***
  • Posts: 166
Re: Implement DropDown Menu in a BGRAButton
« Reply #2 on: August 12, 2012, 02:00:48 am »
no,no, only want how to add property DropDown Menu for a TPopupMenus, thanks.
Lazarus 1.0.4 Stable - FPC 2.6.0 - gtk2 | Linux Mint 14 Nadia | GNOME Shell 3.6.2 - Awesome | Intel x86 | HP Mini 1020-LA Netbook (old)
Lazarus 2.0.2 Stable - FPC 3.0.2 - Windows | Lenovo IdeaPad Y