Hi,
this should be the default behavior of the menu back command. At least 
historically I think we had some code to deal with folding the menu when 
the back command was pressed, we should probably update that.
On Tuesday, December 1, 2020 at 10:02:30 AM UTC+2 Ivan wrote:

> Hi,
> I'm implementing back command for soft key (back) on main form of 
> application and when the menu is open the back command should close it 
> otherwise it shlould exit the application.
>
> Dátum: utorok 1. decembra 2020, čas: 3:53:26 UTC+1, odosielateľ: Shai Almog
>
>> Hi,
>> I thought we have an API for that but we don't. These are old APIs from 
>> previous iterations of menus. What are you trying to accomplish that 
>> requires this API?
>>
>> On Tuesday, December 1, 2020 at 1:49:36 AM UTC+2 Ivan wrote:
>>
>>> Hi guys,
>>> how can I find out thar left side menu is open ?
>>> I tried isMenuOpen, isMenuShowing on Form.gerToolBar().getMenuBar() but 
>>> nothing works for me. The only solution was to check if sideMenuDialog 
>>> exists in form's component tree, but it's really ugly solution.
>>> Thanks
>>> Ivan
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/ae1e2897-312a-4c43-8d15-08a696f80f81n%40googlegroups.com.

Reply via email to