473,231 Members | 1,948 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,231 software developers and data experts.

menus and submenus

N002199B
Hie Guru's

I am trying to write code that can be re-used by simple calls to build menus and submenus on mobile devices.

I have heard about the cascading menus design pattern, but do not understand it. I hear it can be a solution and read this document at Big Designs for small devises .

It seems good, but i still cannot start building menus and submenus in j2me.

Can anyone shed some light as to how to best go about this

Regards
Jan 27 '08 #1
2 3044
markmcgookin
648 Expert 512MB
Hie Guru's

I am trying to write code that can be re-used by simple calls to build menus and submenus on mobile devices.

I have heard about the cascading menus design pattern, but do not understand it. I hear it can be a solution and read this document at Big Designs for small devises .

It seems good, but i still cannot start building menus and submenus in j2me.

Can anyone shed some light as to how to best go about this

Regards

In .Net you can create a menu item with the following code, and add it to the main menu, MainMenu1

Expand|Select|Wrap|Line Numbers
  1. MenuItem menuItemx = new MenuItem();
  2. menuItemx.Text = "123";
  3. mainMenu1.MenuItems.Add(menuItemx);
  4.  
Jan 28 '08 #2
In .Net you can create a menu item with the following code, and add it to the main menu, MainMenu1

Expand|Select|Wrap|Line Numbers
  1. MenuItem menuItemx = new MenuItem();
  2. menuItemx.Text = "123";
  3. mainMenu1.MenuItems.Add(menuItemx);
  4.  
that may be true in .Net, but I wonder if it works in j2me. I am trying to do it in J2ME, and I am thinkinking of actually handling the drawing code myself instead of using the list and other such lcdui classes.

I hope I am clear, and am willing to be corrected
Jan 28 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Venkatesh | last post by:
Hi Everybody, This is the first timw I am entering into this Group. I am developing a VB Project with an MDI form. I want to display IE Favorites into my application. For this I need to...
7
by: Marci | last post by:
I found this script for cascading menus, however, I cannot reach the author to solve the bug I am having when I add a second menu to it. My problem is this: If I click on the first link, the...
1
by: paula | last post by:
I've got a problem with asp.net i am trying to make a menu control. and have searched the web for serveral controls but they don't work correctly. I am pretty new to asp.net building. What am i...
4
by: Bratislav Jevtic | last post by:
hi, we developed an application having server-side menus. however, I'm interested for: 1. some nice client side drop down menus. ideal solution would be something like windows menus in...
1
by: paulakeijzers | last post by:
I've got a problem with asp.net i am trying to make a menu control. and have searched the web for serveral controls but they don't work correctly. I am pretty new to asp.net building. What am i...
14
by: axlq | last post by:
I am trying to figure out what is the minimal simplest CSS I can have to accomplish a row of tabs, with one or more tabs having a drop-down menu when you hover over it -- AND the whole tab+menu...
4
by: DDmUSA | last post by:
I am using a CSS-based glossy menu that I found on Dynamic Drive. Using Internet Explorer 7, the sub-menus appear towards the right once the mouse is pointing over the top level. Using Firefox, all...
2
by: bnashenas1984 | last post by:
Hi everyone I have a table in MySQL which contains menus and submenus. Table : + ID + Parent ID + Name + | 1 | 0 | Computer | | 2 | 0 | furniture | | 3 | ...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.