[CLOSED] Desktop - drag menu item from StartMenu and drop as shortcut

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] Desktop - drag menu item from StartMenu and drop as shortcut

    Hello support team,
    is it possible to dynamically create desktop shortcuts for the selected StartMenu items of the Desktop? What I want to achieve is offer a user-friendly way to create a desktop icon for chosen StartMenu application. Is it possible to implement, for example, drag & drop for StartMenu items? I spent quite some time with looking for a solution and although I had no problem with drag & drop implementation for tree menu or droppable panels, here I'm lost.

    According to my simple example, I want to drag the menu item of the European Union and drop a new shortcut next to the Notepad shortcut. Is it feasible? Please, can you give me some clue?

    Ext.NET version 4.3

    Thank you,

        Layout = null;
        List<MenuItem> startMenu = new List<Ext.Net.MenuItem>();
        startMenu.Add(new Ext.Net.MenuItem() { Icon = Icon.FlagEuropeanunion, Text = "European Union" });
        startMenu.Add(new Ext.Net.MenuItem() { Icon = Icon.FlagUs, Text = "United States" });
        .Listeners(l => { l.Ready.Handler = " desktopReady()"; })
                .Title("Allegro Desktop")
                                .ToolTip("Tile windows")
                                .OverflowText("Tile windows"),
                                .ToolTip("Cascade windows")
                                .OverflowText("Cascade windows"),
                                .ToolTip("Default icons positions")
            Html.X().DesktopModule().ModuleID("Notepad").Shortcut(new DesktopShortcut { Name = "Notepad", IconCls = "x-notepad-shortcut" })
    <script type="text/javascript">
        var $desktop;
        function desktopReady() {
            $desktop = Nelis._nelisDesktop;
    Last edited by fabricio.murta; Sep 13, 2017 at 9:23 PM.

Similar Threads

  1. Replies: 1
    Last Post: Oct 01, 2012, 6:29 PM
  2. Replies: 8
    Last Post: Jul 29, 2012, 11:58 AM
  3. Drag Drop Not to Remove The Item In The Dragzone
    By hyq01221987 in forum 1.x Help
    Replies: 0
    Last Post: Mar 18, 2012, 6:24 AM
  4. [CLOSED] menu item drag and drop
    By SymSure in forum 1.x Legacy Premium Help
    Replies: 10
    Last Post: Apr 18, 2011, 8:03 PM
  5. access to item of menu in Coolite desktop
    By mono in forum 1.x Help
    Replies: 0
    Last Post: Aug 10, 2009, 12:50 PM

Tags for this Thread

Posting Permissions