Attached is the code(some of it were not mine) and i would like to extend it...
but for some reason, im having problems trapping the "Enter" key,
any help would be very much appreciated...thanks.
It seems that the CommandButton "consumes" the Enter key, preventing the Form from ever being notified of the keypress. This happens even when subclassing either the Form or the CommandButton (watching for BN_CLICKED or WM_CHAR/WM_KEYDOWN messages). I've noticed that Microsoft's Calculator doesn't allow setting the focus to any button, thus enabling the Enter key to work correctly. Perhaps you may want to emulate that behavior. Another possible workaround is to use a UserControl button in lieu of the CommandButton.
On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0
press the "Enter" button when the "txt_Paper" has focus?
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu. https://get.cryptobrowser.site/30/4111672