HZNM.COM
welcome to my space
X
Search:  
 HOME   Desktop Start menu: Making menu items on the right work
Desktop Start menu: Making menu items on the right work
Published by: rose 2010-03-16
Welcome to:hznm.com

  • I've spent too much time on this issue which I'm sure one of you pro's can solve in 30 seconds. Very simply, how do you (load and then) call a window from one of the links on the right side of the start menu?

    I know how to load a module so it appears on the left side, but can't for the life of me create the exact same thing, except that the module appears on the right. Below is a little snippet that might jog the memory:
    Windows ME Tips from 5 Star Support::
    Free Microsoft Windows ME tips and tricks that are helpful and easy to understand. When the Start menu is clicked, you may see short menu items loaded with small arrows
    http://www.5starsupport.com/info/winmeinfo.htm
    HOME
    Chapter 1: Getting Acquainted with Excel::
    desktop shortcut by clicking the Start button, right-clicking Microsoft Office items on the Control menu; these automatically pop up whenever you click
    http://media.wiley.com/product_data/excerpt/8X/07645375/076453758X.pdf
    HOME


    getStartConfig : function(){
    return {
    title: 'Jack Slocum',
    iconCls: 'user',
    toolItems: [{
    text:'My Account',
    iconCls:'settings',
    handler: // <-- WHAT GOES HERE?!
    scope:this
    },'-',{
    text:'Logout',
    iconCls:'icon_door_in',
    handler:logout,
    scope:this
    }]
    };
    }


    Thanks for your time!


  • Example:

    getStartConfig : function(){
    var win = new MyDesktop.GridWindow();
    win.init();
    win.app = this;
    return {
    title: 'Jack Slocum',
    iconCls: 'user',
    toolItems: [{
    text:'Settings',
    Windows XP: File Management | UNC-Chapel Hill Help and Support::
    To work with drives and folders, you must first click on the icon for My To modify the Start menu further, right-click on a blank area of the
    http://help.unc.edu/2277
    HOME
    iconCls:'settings',
    scope:this
    },'-',{
    text:'Logout',
    iconCls:'logout',
    scope:this
    },
    win.launcher
    ]
    };
    }


  • Anybody?


  • Condor, thanks for that, it seems to be working just fine. I'm struggling a little to reference the windows I want to create and destroy, could you point me in the direction of some documentation that might help? Like for instance, if you have a cancel button, what's the correct way of destroying the window it's in? Using Ext.getCmp kills the window, but doesn't remove it from the task bar...

    /* Update: SOLVED */

    I added a public function to MyDesktop.UserDetails (my window name, it's ID is 'user_details'):


    MyDesktop.UserDetails = Ext.extend(Ext.app.Module, {
    //id:'user_details',
    init : function(){
    this.launcher = {
    text: 'My Profile',
    iconCls:'icon_user_edit',
    handler : this.createWindow,
    scope: this
    }
    UserDetails = this; //This is how it can be referenced later, for more details see: http://extjs.com/forum/showthread.php?p=71568#post71568
    },

    removeWindow : function(){ //this function seems to do the trick
    var desktop = this.app.getDesktop();
    var win = desktop.getWindow('user_details');
    win.close();

    },
    createWindow : function(){
    ...
    }
    });

    Then called it from the handler as such:


    handler: function() { UserDetails.removeWindow(); }


    I'm sure there is a better/faster way of doing it, but it worked, so it's ok for now.





  • Challenging Books For A 14 Year Old?
    First guitar : acoustic or electric?

    You are looking at:hznm.com's Desktop Start menu: Making menu items on the right work, click hznm.com to home
  • creative daycare snacks
  • at what age did your toddler start talking more than 10 words
  • which carseat should i use
  • help my wife normally handles things like this and she is gone
  • from the nanny potty training help needed
  • what is going on is it to soon
  • this may sound silly but can you re refridgerate milk once you warmed it up
  • okay so i have a weird question about new year and twins xd
  • fussy 11 wk old when he gets tired
  • i came home after 5 days and was so excited to see my one year old son but when i returned home he cried
  • i have the mirena iud and i 039 ve been feeling pregnant so i took an at home test
  • how to choose a right car seat for my one year old
  • my 3 yr old refuses to eat vegetables
  • flu shot while having a stomach bug
  •  
  • is formula at night the way to go
  • my 4 1 2 month girl won 039 t use her hands to push up should i be concerned what can i do to encourage her
  • my son has a strange red spot on his bottom
  • ok my son screams
  • do children that dont go to nursery
  • worry my 15 months old son don 039 t want to eat
  • average price of child care
  • when a kid is sick do they want to eat candy play with their friends go outside and drink soda
  • a real sensitive question in regard to a stillborn
  • how many baby clothes do i need
  • what could cause sudden weight loss in a toddler
  • i have a 2 year old and i 039 m 8 weeks prego but since i found out i am prego my son has been really clingy
  • 1year old with black eyes experienced moms please help
  •  Homepage | Add to favorites | Contact us | Exchange links | LOGIN | Site map | 
    Copyright© 2008 hznm.com        Site made:CFZ