Saturday, March 24th 2018, 8:57am UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.



Date of registration: Jun 2nd 2011

Posts: 3


Friday, June 24th 2011, 11:03am

Problem using dropdown and edit widget


I have a menu displaying 2 widgets. The dropdown widget is just above the edit widget. When clicking on the edit widget, it shall pop up a number pad for data entry.

I have a situation that, when user is clicking on an item in the dropdown widget that happens to overlay on the edit widget, the dropdown list is collapsed (that's OK) but at the same time, the edit widget also activates the number pad.

The notification code used for the edit wigdet is WM_NOTIFICATION_RELEASED. I have tried workaround solution to use WM_NOTIFICATION_CLICKED instead. It does work on PC simulator but not on our target board (reason is unknown yet).

Or is there any way for the dropdown list to collapse only upon user releasing from the item selection instead? Currently, the dropdown list collapse immediately when user clicks on the item in the list.

Please help!



Date of registration: Aug 23rd 2014

Posts: 3


Friday, July 17th 2015, 11:15pm

Hello Soonheng,
I am facing a similar problem.
I have a button underneath a dropdown list and when I select and item on the drop down list it performs a button click. Have you been able to find a solution for this?
Thank you.

Date of registration: May 26th 2009

Posts: 1,022


Sunday, July 19th 2015, 3:04pm

Hello Guys,

Please note that there is a function BUTTON_SetReactOnLevel() which makes BUTTON widgets react to release events only in case the pressed event happened on actual BUTTON widget.

Unfortunately we currently do not have such a function for the EDIT widget. We will discuss this and add an according function to the EDIT widget API.

Thank you for reporting that.

Best regards,