Skip to main content

[Migrated content. Thread originally posted on 01 July 2003]

Folks

I have a real simple problem, lets say we used to be a microfocus user, but now have converted all code to ACU in character form, now taking the final step and moving to graphical.

So, a simple static data maintenance program has one accept of the graphical screen, with after procedures which do all the old "not on exception" things.

Now in this simple screen, we have added a button which calls the lookup routine - works a treat, however this button uses an event command clicked, and this terminates the accept.

The code picks this up later, and sends the program back into the accept again, but puts it in at the first field on the screen. I don't want this, but would rather put it into a different field.

I've got conflicting info on how to do this, so can someone tell me whats the best way of handling this.

Thanks

Shaun

[Migrated content. Thread originally posted on 01 July 2003]

Folks

I have a real simple problem, lets say we used to be a microfocus user, but now have converted all code to ACU in character form, now taking the final step and moving to graphical.

So, a simple static data maintenance program has one accept of the graphical screen, with after procedures which do all the old "not on exception" things.

Now in this simple screen, we have added a button which calls the lookup routine - works a treat, however this button uses an event command clicked, and this terminates the accept.

The code picks this up later, and sends the program back into the accept again, but puts it in at the first field on the screen. I don't want this, but would rather put it into a different field.

I've got conflicting info on how to do this, so can someone tell me whats the best way of handling this.

Thanks

Shaun
In the after Procedure of that Entry Field

Move 4 to Accept-Control
Move ?? to Control-Id (This is the Id of the field you want to accept next)

Ian

[Migrated content. Thread originally posted on 01 July 2003]

Folks

I have a real simple problem, lets say we used to be a microfocus user, but now have converted all code to ACU in character form, now taking the final step and moving to graphical.

So, a simple static data maintenance program has one accept of the graphical screen, with after procedures which do all the old "not on exception" things.

Now in this simple screen, we have added a button which calls the lookup routine - works a treat, however this button uses an event command clicked, and this terminates the accept.

The code picks this up later, and sends the program back into the accept again, but puts it in at the first field on the screen. I don't want this, but would rather put it into a different field.

I've got conflicting info on how to do this, so can someone tell me whats the best way of handling this.

Thanks

Shaun
In the after Procedure of that Entry Field

Move 4 to Accept-Control
Move ?? to Control-Id (This is the Id of the field you want to accept next)

Ian

[Migrated content. Thread originally posted on 01 July 2003]

Folks

I have a real simple problem, lets say we used to be a microfocus user, but now have converted all code to ACU in character form, now taking the final step and moving to graphical.

So, a simple static data maintenance program has one accept of the graphical screen, with after procedures which do all the old "not on exception" things.

Now in this simple screen, we have added a button which calls the lookup routine - works a treat, however this button uses an event command clicked, and this terminates the accept.

The code picks this up later, and sends the program back into the accept again, but puts it in at the first field on the screen. I don't want this, but would rather put it into a different field.

I've got conflicting info on how to do this, so can someone tell me whats the best way of handling this.

Thanks

Shaun
Take a look at Reference Manual -> "4.2.3 Special-Names Paragraph" -> "General Rules - Screen Control Entry" for more information.

[Migrated content. Thread originally posted on 01 July 2003]

Folks

I have a real simple problem, lets say we used to be a microfocus user, but now have converted all code to ACU in character form, now taking the final step and moving to graphical.

So, a simple static data maintenance program has one accept of the graphical screen, with after procedures which do all the old "not on exception" things.

Now in this simple screen, we have added a button which calls the lookup routine - works a treat, however this button uses an event command clicked, and this terminates the accept.

The code picks this up later, and sends the program back into the accept again, but puts it in at the first field on the screen. I don't want this, but would rather put it into a different field.

I've got conflicting info on how to do this, so can someone tell me whats the best way of handling this.

Thanks

Shaun
Take a look at Reference Manual -> "4.2.3 Special-Names Paragraph" -> "General Rules - Screen Control Entry" for more information.