Design Introduction “Air” Styles Mobile Design Principles Styles UX Overview Design Patterns UI Components for Tizen App Design 2.3 TV Design Principles Styles UX Overview Patterns UI Components Wearable Development Tizen Studio Overview Download Tizen Studio Deprecation Notice Tizen Extensions for Visual Studio Family IoT extension SDK Docs Blog Blog Announcing the Tizen Studio 3.7 Release Announcing the Tizen Studio 3.1 Release Community Forums General Support Tizen .NET Web Application Development Native Application Development SDK & IDE Design Introduction “Air” Styles Mobile Design Principles Styles UX Overview Design Patterns UI Components for Tizen App Design 2.3 TV Design Principles Styles UX Overview Patterns UI Components Wearable Development Tizen Studio Overview Download Tizen Studio Deprecation Notice Tizen Extensions for Visual Studio Family IoT extension SDK Docs Blog Blog Announcing the Tizen Studio 3.7 Release Announcing the Tizen Studio 3.1 Release Community Forums General Support Tizen .NET Web Application Development Native Application Development SDK & IDE
Back event never fired
Hi,
My Form dosen’t get event OnFormBackRequested().
result Mainform::OnInitializing(void) { result r = E_SUCCESS; AddTouchEventListener(*this); Footer* pFooter = GetFooter(); pFooter->SetStyle(FOOTER_STYLE_BUTTON_TEXT); ////////////////// footer items // back button pFooter->SetBackButton(); // Add back button. // ---- item: settings FooterItem footerItem_settings; footerItem_settings.Construct(ID_OPTIONMENU_SETTINGS); footerItem_settings.SetText("Settings"); pFooter->AddItem(footerItem_settings); // ---- sounds FooterItem footerItem_sounds; footerItem_sounds.Construct(ID_OPTIONMENU_SOUNDS); footerItem_sounds.SetText("Sounds"); pFooter->AddItem(footerItem_sounds); // // pFooter->AddActionEventListener(*this); ... // It is never fired. void Mainform::OnFormBackRequested(Tizen::Ui::Controls::Form & source) { LOG("back button pressed"); this->iListener->onExitApk(true); }I get events for every foooter items but not back button.
My form is loadded from xml file:
... <Form id="MainForm"> <property backgroundColor="#8080FF" backgroundOpacity="100" orientation="Portrait" softKey0NormalIcon="" softKey0PressedIcon="" softKey0Text="" softKey1NormalIcon="" softKey1PressedIcon="" softKey1Text="" title="" titleAlign="ALIGN_CENTER" titleIcon="" translucentFooter="true" translucentHeader="FALSE" translucentIndicator="true"/> <layout mode="Portrait" style="FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/> <layout mode="Landscape" style="FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/> </Form> <Footer> <property backgroundBitmapPath="" color="" colorOpacity="100" disabledButtonColor="" disabledButtonColorOpacity="100" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="100" disabledItemTextColor="" footerStyle="FOOTER_STYLE_TAB" highlightedButtonColor="" highlightedButtonColorOpacity="100" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="100" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="100" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="100" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="100" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="100" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="100" selectedItemTextColor="" showBackButton="true"/> <itemSet/> </Footer> ...All seems to be ok however back event dosen’t come.
Regards
sland
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio