Displaying the menupopup on the screen first menu

4 messages - 1282 views

Hi All,

please understnad my language carefully. I dont have the more knowledge on english.

Based on Kuix demo i developed the small application. Here i used the menupopup for the screenfirstmenu. I used the blackberry device.

In Menupopup i gave the 10 to 15 menu items. Here this menupoopup overides the blackberry screen. means menupopup goes over the screen.

I tried also scrollpane and set the min-size for menupopup. But whenever i used the scrollpane menu not diplayed. and scrollpane also not worked.

How can i utilize this menupopup exactly. Please give me the idea for displaying menupopup with scroll pane and menu and menuitem.

 

Here i send the code for this.........

 

 

 <screenfirstmenu>Options
       
       
        <menupopup>
            <scrollPane>
                <menuitem  onAction="call">call</menuitem>
                <menuitem onAction="SMS">SMS</menuitem>
                <menuitem onAction="SMS2Email">SMS2Email</menuitem>
               
                <menu>
                    CallDetails
                    <menupopup>
                        <menuitem onAction="">viewmobilooscalls</menuitem>
                        <menuitem onAction="SMS">Add to contacts</menuitem>
                       
                    </menupopup>
                </menu>
                <menuitem onAction="clearlist">clearlist</menuitem>                        
                <menuitem onAction="delete">delete</menuitem>
                <menuitem onAction="checkbalance">check balance</menuitem>
               
                <menu>
                    my Account
                    <menupopup>
                       
                        <menuitem onAction="Top-Up">Top-Up</menuitem>
                        <menuitem onAction="viewratesheet">View Rate-Sheet</menuitem>                                             
                    </menupopup>
                </menu>
               
                <menuitem onAction="invitefriends">Invite Freinds</menuitem>
                <menuitem onAction="addmanually">Add Manually</menuitem>
                 <menuitem onAction="fromphonebook">From PhoneBook</menuitem>
                  <menuitem onAction="help">Help</menuitem>
                <menuitem onAction="aboutmobile">About Mobile</menuitem>
               
                <menuitem onAction="exit">Exit</menuitem>
            </scrollPane>
        </menupopup>
    </screenfirstmenu> 

 

 

Thanks&Regadrs,

Suresh A

 

Hi All,

 

Please respond for this give me the reply..... I need very sure and urgent...

 

Regards,
Suresh A

Could try removing Scrollpane and see if this works fine..I am aware of scrollpane not jumping by one item..it moves by pixcels.

Or else, the menu seems to be very big.. and is not a good design in my view..

Try to reduce the no of menu items.

 

Follow up questions to KUIX team pl..

1. Is it possible to control the exact size and location of the pop-up.

2. Is it possible to define a different font for menus (if yes, suresh try to used small font to fit in the screen)

3. Can the sub menu have different font than the main menu

4. What is the algorithem used to decide the position of menu and submenus (accademic interest only)

5. How to say scrollpane to jump by x pixels.

6. Would it be possible to use list instead of scrolpane in menupopup. The list does jump by one item at a time.

Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com

Actualy, Kuix do not realy support scrollpane into menupopups. Because menupopups are automaticaly sized to their "min-size". And a scrollpane doesn't have any min-size beacause it's designed to be adaped to fill it parent.

The other pb is that internaly sub menuitems invoke their parent as menupopup ... and in your case, their parent are scrollpane ...

I'm sorry but I do not propose any correct solution for the moment.