/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Menu Problems...

Username:     
Password:     
             

Forum

# 1   2009-04-01 22:54:44 Menu Problems...

smhinchy
New member
Registered: 2009-03-31
Posts: 1

Menu Problems...

Hello,

I am trying to use a menu in my application and as soon as I show the menu it freezes.  Is there a menu 'helper' function that needs to be called somewhere?

Code:

tMenu Menu1 =
{
   1,
   "Select Mode",
   3, 0, 0, 0, 0, 0,
   0,
   {
      { "  Load File   ",   fLoad , 0, 1 },
      { "Program Device",   fProgram, 0, 1 },
      { "     Quit     ",   MENU_LEAVE, 0, 1 }
   }
};

then in Application_Ini I call:

Code:

MENU_Set(&Menu1);

What am I missing?

Thanks,

Shawn

Offline

 

# 2   2009-04-02 12:06:18 Menu Problems...

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Menu Problems...

We will publish later today a dictaphone application. It includes a menu, and you could take it as example.

Offline

 

Board footer