menuitem

menu items not displaying properly

Hi I am using Xml Data source to build menu for my application.. but the problem I am facing is, when i click on the menu it display all submenu right below the menu.. but when i scroll down a little in the page and click on the menu it display the menu items not at the right place.. which means it display the items not right below the...

insert radiobox in menu in forms

Hey, How can I insert radiobutton in Menu as Menu item. I use WinForms and there I see only few option to insert other controls, but no radio :/ Also it's impossible to drag it from Controls and drop in menu in Design View :/ ...

asp.net hover menu item

When I hover on a static menu item that has a dynamic menu, the hover styles are in effect but once I start navigating the dynamic menu the static menu item goes back to the non-hover styles. Does anyone know how to make them stick until I stop ''using' that menu? I tried the 'selected' static menu item styles but that doesn't work - if ...

How do I create drop lines while dragging a menu item on a WinForm?

I want to mimic the functionality of Google Chrome/FireFox for example, when rearranging your bookmarks, when you are dragging the menu item, it creates a black line at the proposed drop point, like this: I've already implemented the Drag/Drop functionality to rearrange the menu, but I would like to add these separator lines as an add...

How can I create personalized menus in WPF?

I'm working on an XmlEditor (similar to XmlNotepad, but using WPF) in which I want to implement personalized menus. I.e. only show the most popular MenuItems on first open, and show all MenuItems when the user explicitly asks for it, either by clicking on the double arrow at the bottom or waiting for a certain amount of time. I'm speci...

FF extension: a popup with dynamic menuitems, with each menu item having another popup

I am building an extension that has a popup whose elements are constructed by a function call everytime the mouse hovers over the popup option. I am able to achieve this. Now I need to have a popup for each of the menu item (inside the original popup) which is not dynamic though. I have this code, but it does not work: var myMenuPopup =...

How can I add switch application functionality?

How can I add a Switch application menu item on a Screen? ...

How do I center align horizontal <UL> menu?

I need to centre align a horizontal menu. I've tried various solutions, including the mix of inline-block / block / center-align etc., but not being successful. Can someone help me please? :) Here is my code: <div class="topmenu-design"> <!-- Top menu content: START --> <ul id="topmenu firstlevel"> ...

firefox sidebar menu or list of elements. resources/help

I am struggling to find any resources on firefox extensions which construct a sidebar and put elements into them. plus tyhe other functionalities within a sidebar. I have made a emptysidebar. Now i need to display a dynamic array(which is formed using a JS function). I have absolutely no idea how to go about it. Can someone please help!...

WPF MenuItem IsChecked Binding not working

Anyone know why the menu item binding does not work ? <ToggleButton Name="toggleButton" Checked="checkBoxPublish_Checked" > <ToggleButton.Resources> <converters:BooleanToHiddenVisibility x:Key="boolToVis"/> </ToggleButton.Resources> <Grid> <Image Height="auto" HorizontalAlignment="Left" Margin="5" Name="ima...

Is there a way to add a menu shortcut for an application to select which Space is supposed to appear on?

I am looking for a more convenient way to manage assignment of applications to a particular Space without having to popup System Preferences all the time. Maybe there exists a contextual menu that allows me to do it, or a menu hack? I'ld even be open to use Applescript, but Spaces is not very well supported in Applescript, AFAIK. ...

WPF MenuItem Content "Name"...

Hi, I have a LOT of MenuItem(s), and I want to be able to change their "Content" so that it displays in the program. When I load up the program, their "Content Name" is set in a Setter I created.. but the only problem is that I have almost a hundred MenuItem objects, and I need their display names in the program to be different (not the...

WPF MenuItem Content "Name"

Hi, I have a LOT of MenuItem(s), and I want to be able to change their "Content" so that it displays in the program. When I load up the program, their "Content Name" is set in a Setter I created.. but the only problem is that I have almost a hundred MenuItem objects, and I need their display names in the program to be different (not the...

How come nobody wrote RadioMenuItems class for Winforms?

Or maybe google is just not so friendly to me? What I want is this simple thing: constructor that accepts an array of menu item objects Value get/set property that would set all the Checked properties right bind to all Clicked events of the supplied items and provide One event Working DataBind facilities If you encountered such a n...

CF - MenuItem selection in MainMenu

Hello. Again i wonder how can i highlight selected item in my MainMenu form. Every time i select an item only the first item is highlighted (always the same). But when a MenuItem is clicked its highlighted untill the Menu reloads. I found "checked" property on MenuItem that would generaly work, but the first item remains highlighted. T...

WPF: Menu Items only bind command parameters once.

Ive noticed this a couple of times when using menus with commands, they are not very dynamic, check this out. I am creating a menu from a collection of colours, I use it to colour a column in a datagrid. Anyway when i first bring up the menu (its a context menu) the command parameter binding happens and it binds to the column that the co...

Trouble binding WPF Menu to ItemsSource

I would like to avoid having to build a menu manually in XAML or code, by binding to a list of ICommand-derived objects. However, I'm experiencing a bit of a problem where the resulting menu has two levels of menu-items (i.e. each MenuItem is contained in a MenuItem): My guess is that this is happening because WPF is automatically gen...

Secure Menu Items Based on User

On this winform application I am writing, I want to secure one menu item from most users. It runs a month-end and cannot be easily backed out if accidentally run. The menu option opens up a window to prompt the user for some information before processing. I don't care where exactly I do the check, but I want to be sure only certain users...

Creating same-width hit-zones on MenuItems in ASP.NET 2.0 Menus that include MenuItems added at runtime

In an ASP.NET 2.0 application, I want to permit a user to select a MenuItem, even if the user does not click the actual text of the MenuItem, but instead only clicks the highlight area that ASP.NET places around the currently selected MenuItem (represented by the DynamicHoverStyle.BackColor property). Since the BackColor is displayed the...

trigger popup message from asp menu item

I have a menu in asp with many menuitems. I want one of the menu items to call a popup box. I am using C# with code in a seperate file. I would normally say something like: RegisterStartupScript("Format Error", "<script>alert('Max Load Must be an Integer')</script>"); I want this to be called when I click the Menu Item. The idea...