Recent

Author Topic: Sent Enter before Tab is executed  (Read 1390 times)

Hansvb

  • Hero Member
  • *****
  • Posts: 715
Sent Enter before Tab is executed
« on: May 19, 2024, 05:35:59 pm »
Hi,

How can I send an enter to a stringgrid when I finished the cell entry and click tab. So for the tab I want to send a enter first.

jamie

  • Hero Member
  • *****
  • Posts: 6735
Re: Sent Enter before Tab is executed
« Reply #1 on: May 19, 2024, 05:47:05 pm »
have you looked at the OnExit event of the grid?
That should generate I would think but maybe not, you need to try.
The only true wisdom is knowing you know nothing

jamie

  • Hero Member
  • *****
  • Posts: 6735
Re: Sent Enter before Tab is executed
« Reply #2 on: May 19, 2024, 05:53:26 pm »
You also have the "OnEDitingDone" event.
The only true wisdom is knowing you know nothing

Hansvb

  • Hero Member
  • *****
  • Posts: 715
Re: Sent Enter before Tab is executed
« Reply #3 on: May 19, 2024, 09:53:05 pm »
I had an annoying error that I had been looking for for the last 2 days. It seemed to be solved with an enter in the stringgrid cell, but that would be a work around. I finally found the real error. (a stupid logic error that I kept missing).

Thanks anyway.

 

TinyPortal © 2005-2018