Skip to main content

Good evening!  I hope someone out there has already solved this somehow.  I cannot seem to find a way to detect ENTRY-BOX activation if I tab into the field.  I detect clicking to activate and apparently would be able to detect using "the control's key letter" however, it would seem that tabbing to that control escapes the attention of the ENTRY-BOX's message processing.  Has anyone else had more luck finding information or perhaps there is some other discussion that talks about how to process the tab message for any control on a form.  

I'm using Acucobol 10.0 (compiling for 7.1) extend on Windows 7 Home Premium.  Thanks in advance for any advice!

Jim Read


#AcuCobol
#Events
#entry-fieldcursorlocation
#activecontrolidentification
#extend

Good evening!  I hope someone out there has already solved this somehow.  I cannot seem to find a way to detect ENTRY-BOX activation if I tab into the field.  I detect clicking to activate and apparently would be able to detect using "the control's key letter" however, it would seem that tabbing to that control escapes the attention of the ENTRY-BOX's message processing.  Has anyone else had more luck finding information or perhaps there is some other discussion that talks about how to process the tab message for any control on a form.  

I'm using Acucobol 10.0 (compiling for 7.1) extend on Windows 7 Home Premium.  Thanks in advance for any advice!

Jim Read


#AcuCobol
#Events
#entry-fieldcursorlocation
#activecontrolidentification
#extend

Hi Jim - try setting a BEFORE PROCEDURE on the entry field. It should fire whenever the field is activated, whether it's by the tab key or the mouse.


Good evening!  I hope someone out there has already solved this somehow.  I cannot seem to find a way to detect ENTRY-BOX activation if I tab into the field.  I detect clicking to activate and apparently would be able to detect using "the control's key letter" however, it would seem that tabbing to that control escapes the attention of the ENTRY-BOX's message processing.  Has anyone else had more luck finding information or perhaps there is some other discussion that talks about how to process the tab message for any control on a form.  

I'm using Acucobol 10.0 (compiling for 7.1) extend on Windows 7 Home Premium.  Thanks in advance for any advice!

Jim Read


#AcuCobol
#Events
#entry-fieldcursorlocation
#activecontrolidentification
#extend

That worked great!  Thanks!