1. #1
    Sencha User
    Join Date
    Jul 2009
    Posts
    64
    Vote Rating
    0
    Kalle1985 is on a distinguished road

      0  

    Default How to add a comboBox to a messageBox?

    How to add a comboBox to a messageBox?


    Hello,

    i need to have a messageBox with a comboBox inside.
    Available boxes are: textfield and textbox (multiline), which i won't use.

    How can i realize this?

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    A MessageBox is a simple Window. You can either use the Dialog or Window class directly and add the ComboBox to that.

  3. #3
    Sencha User
    Join Date
    Jul 2009
    Posts
    64
    Vote Rating
    0
    Kalle1985 is on a distinguished road

      0  

    Default


    Ok, thank you for this advice!

  4. #4
    Sencha User
    Join Date
    Jul 2009
    Posts
    64
    Vote Rating
    0
    Kalle1985 is on a distinguished road

      0  

    Default


    Hm...
    when i add the comboBox, the window or the dialog will not be displayed!

    What i`m doing wrong?

  5. #5
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Quote Originally Posted by Kalle1985 View Post
    Hm...
    when i add the comboBox, the window or the dialog will not be displayed!

    What i`m doing wrong?
    Please post your code as a fully working testcase implementing EntryPOint. As we dont know your code, we cannot answer this.

  6. #6
    Sencha User
    Join Date
    Jul 2009
    Posts
    64
    Vote Rating
    0
    Kalle1985 is on a distinguished road

      0  

    Default


    Ok,
    i forgot to add a store to the combobox, sry!

Similar Threads

  1. how to add ContentPanel to MessageBox
    By rameshr in forum Ext GWT: Discussion
    Replies: 2
    Last Post: 18 Jan 2010, 9:32 AM
  2. To add more spaces in messageBox.show msg
    By angelflaree in forum Ext 2.x: Help & Discussion
    Replies: 8
    Last Post: 3 Oct 2008, 2:27 PM

Thread Participants: 1