语言

Menu
Sites
Language
How to add a Menu key to my application

How can we add a menu button on Footer(as back button).

when I am implementing IFormMenuEventListener in my class. it is showing some error.

 

class SqlDataControlForm
    : public Tizen::Ui::Controls::Form
    , public Tizen::Ui::Controls::IFormBackEventListener
    , public Tizen::Ui::Controls::IListViewItemEventListener
    , public Tizen::Ui::Controls::IListViewItemProvider
    , public Tizen::App::ISqlDataControlResponseListener
    , public Tizen::Ui::IActionEventListener
    , public Tizen::Ui::Controls::IFormMenuEventListener

E:\tizen\Work\DataControl\inc\SqlDataControlForm.h:36:32: error: expected class name
        , public Tizen::Ui::Controls::IFormMenuEventListener

 

can we add this menu key as like back key. or any other way we have. please explain me

Thanks

Rajyalakshmi

 

编辑者为: Brock Boland 17 3月, 2014 原因: Paragraph tags added automatically from tizen_format_fix module.

响应

3 回复
wil smith
IFormMenuEventListener is supported SDK2.2 onwards, so if your SDK is of previous version it won't work.
Jaewon Cho
IFormMenuEventListener is for hardware Keypad. and footer doesn't support software menu button. I think it's better to use hardware menu key. See Handling Hardware Keys Programming Guide - https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.native.appprogramming%2Fhtml%2Fguide%2Fui%2Fhandling_hardware_keys.htm
Siddharth Singh
U can use softkey options for adding the back button ....