Context menu of a T(Float)SpinEdit(Ex) opens by right-click only on edit field, but not on spin buttons.
Original Reporter info from Mantis: wp @wpam
-
Reporter name:
Original Reporter info from Mantis: wp @wpam
- Reporter name:
Description:
When a PopupMenu is assigned to a control of the TSpinEdit family of components a right click opens the menu only when the click occured on the edit field, but not on the spin buttons. This is in contradition to Delphi where it does not matter where the right click occurs, on the edit field or on the buttons.
The same happens with the button-edit combinations, such as T(Float)SpinEditEx, TFileNameEdit, TDirectoryEdit, TCalcEdit, TDateEdit, TTimeEdit. Only the TDateTimePakcer opens the context menu also by right-clicking on the button.
Steps to reproduce:
Run the attached demo. Right-click on the controls to open the (dummy) popup menu. The menu opens only when the right click is made on the edit field, it does not open when it is made on the button associated with the edit field.
Mantis conversion info:
- Mantis ID: 38098
- Monitored by: » @flyingsheep (Bart Broersma)