I new to Blackberry and qt. I want to make a drop down menu like android drop down menu. I had search and found nothing. I only found about drop down list not drop down menu. Please help me.
The menu choices for a Cascades application:
Action menu (shown on the bottom action bar if you app has one configured as well has swiping from the right)
Context menu (press and hold an item to display a partial view, hold/drag out to reveal complete menu)
Application menu (up to five menu items at the top of your app)
Custom menu (whatever you can think up by accessing the bb::system::MenuManager)
You can read more about all the menus HERE
If you want something that is specifically like android's drop down menu you can always explore option #4 and make a custom one.
Related
I would like to create context menu in my project. On android it's called PopupMenu. On click of button, I have to show the popup with 3 rows and it's clickable event. How I can implement this in my code? Example of this menu here:
http://www.javatpoint.com/images/androidimages/popup2.png
The Xamarin.Forms way to handle this is to call DisplayActionSheet() on the Page.
It's not exactly a popup, but on the other hand it has better chances to be fully displayed and visible on screen if your view can scroll.
I have a responsive layout where the desktop view shows search, logo, login. In the xs/mobile view I would like the search and login to collapse into buttons. I can get this layout working just fine. The issue is that in the desktop view, I have a Search Options link that opens a popover with tabbed search forms. I'd like to still have that once you click the collapsed search button. My issue is that the popover is being created inside the tag instead of after it.
How can I set it up so that there is one div holding the search options that can be displayed from either the desktop view (search bar, Go button, search options link) as well as the mobile view (just a button with a search icon).
I am not tied to the popover- I just liked the look of it and I am not sure how to deal with the data-toggle as it currently is set to "collapse" and it seems I might need it to be able to also somehow be set to "dropdown."
Hopefully there is an easier/better way to do this!
PROGRAMS USED: Sencha Architect with ExtJS 4.2.
CURRENT SITUATION: My Button use a Start Menu style. The Start Menu is Panel type. I put both the Button and the Start Menu Panel in a Taskbar. Since I can't point the Button to use the Panel as a Menu in Architect (it automatically creates a Menu type when I click create Menu), so I use this code in the Taskbar afterLayout event:
container.getComponent('StartButton').menu = container.getComponent('StartMenuView');
PROBLEMS: The StartMenu displayed correctly when I click the Button, but I can't close it no matter where I click. What did I miss? Any help is appreciated.
Decided to switch to another much simpler approach that I've just figured: Use my "StartMenu" Panel as a Menu Item in my "Start" Button.
I have Main_Menu which is my Primary and User_Menu which is my Secondary Links Menu. I want to show the Main_Menu when user clicks on one of the Menu Items in the User_Menu. How do i achieve this?
I'm not sure I understand the use case for showing the primary menu after clicking on the secondary menu. That seems to contradict the meanings of "primary" and "secondary". :)
But you might get some use out of the Menu Block module: http://drupal.org/project/menu_block
I am looking to create a menu bar with a specic type of "action"
Similar to the bar on this website
BBC Sport
Its totally static and has no dynamic or "pop out" sections. When the top menu is clicked the page will re-load and display the lower level in a diffrent colour.
Can this be achived with the Standard ASP:Menu control?
I am not a big fan of the pop out feature however I do not want all my options to be visible to my users at root
Hope that makes sense
Check out this basic ASP.Net Menu control page. You can click on the "Run" buttons to see very basic versions of the menus.
The advantage of using this particular approach is that you can tie it to a sitemap, so you don't have to keep updating the menu code. You just add the page(s) to the sitemap, and the menu picks it up.
You can also dynamically link the menu to different sitemaps, such as one for the admin menu and another for regular users' menu.
The Menu control is in the navigation section of the toolbox.
To experiment with the built-in functionality (before writing your own code to do what it will do for you), just drag and drop a menu control onto your form. Then, use the common tasks menu to:
autoformat -- good for quick & dirty because it sets hoverstyle too
set the data source
set the view type (static or dynamic)
define menu items with an editor
work with templates to set appearance
You have to go to properties to set menu appearance.