Xbrowse + EDIT_LISTBOX <K_ENTER> closes dialog
Posted: Tue Oct 10, 2017 11:46 pm
Hello everyone;
I hope someone has seen this before. With a dialog from resources when the list box opens on a column inside an xbrowse and an item is highlighted on the listbox, pressing <enter key> to select the item actually closes the dialog. I can't see why as I don't even have a single control on the dialog to close the dialog. I would expect that pressing <enter> on the item would select the item, not close the dialog.
After opening the listbox and highlighting 'two' on the list, pressing <enter> will simply close the dialog. Again, I don't have any controls on this dialog that will execute a oDlg:End() instruction.
Any ideas?
Reinaldo.
I hope someone has seen this before. With a dialog from resources when the list box opens on a column inside an xbrowse and an item is highlighted on the listbox, pressing <enter key> to select the item actually closes the dialog. I can't see why as I don't even have a single control on the dialog to close the dialog. I would expect that pressing <enter> on the item would select the item, not close the dialog.
Code: Select all
WITH OBJECT oBrw
:Concept:nEditType := EDIT_LISTBOX
:Concept:aEditListTxt := { 'one', 'two', 'three' }
...
END
Any ideas?
Reinaldo.