Skip to main content

[archive] Questions about Acubench 8.0

  • February 8, 2008
  • 13 replies
  • 0 views

[Migrated content. Thread originally posted on 07 February 2008]

We just received our 8.0 version and have started testing it with our previous projects (done in 6.2). So far we have seen no issues with converting old projects in to the new 8.0 framework. Has anyone else seen any areas of concern about converting projects to 8.0?

Once question that has come up is the Drag and Drop feature in 8.0. We have been playing with it and some times it creates code in the event paragraph that we can edit and other times it does not (puts the code in the prd file). Has anyone found this and if so how have you fixed it so that it always generates the code in the event paragraph (so that it is editable)?

Thanks for any help.

13 replies

[Migrated content. Thread originally posted on 07 February 2008]

We just received our 8.0 version and have started testing it with our previous projects (done in 6.2). So far we have seen no issues with converting old projects in to the new 8.0 framework. Has anyone else seen any areas of concern about converting projects to 8.0?

Once question that has come up is the Drag and Drop feature in 8.0. We have been playing with it and some times it creates code in the event paragraph that we can edit and other times it does not (puts the code in the prd file). Has anyone found this and if so how have you fixed it so that it always generates the code in the event paragraph (so that it is editable)?

Thanks for any help.
I think you'll need to be more specific about what you're trying to accomplish. The prd is a holding area for routines that are needed when you draw something on the screen designer (load a font, fill a list box). You do have some control through the AcuBench tools, options, Code Generation menu. You can edit the COBOL program to run your own routines instead of or in lieu of the generated code

Acu-Main-Logic.
*{Bench}entry-befprg
PERFORM Before-Program
*{Bench}end

[Migrated content. Thread originally posted on 07 February 2008]

We just received our 8.0 version and have started testing it with our previous projects (done in 6.2). So far we have seen no issues with converting old projects in to the new 8.0 framework. Has anyone else seen any areas of concern about converting projects to 8.0?

Once question that has come up is the Drag and Drop feature in 8.0. We have been playing with it and some times it creates code in the event paragraph that we can edit and other times it does not (puts the code in the prd file). Has anyone found this and if so how have you fixed it so that it always generates the code in the event paragraph (so that it is editable)?

Thanks for any help.
Let me try to clear up my question......

When we use Drag and Drop to create a List Box, Grid, Paged List Box, Paged Grid in Acubench 8.0 the code that controls the placing of data into the control and the movement inside the control (page up, page down, line up, etc) is not always created in the event section of the project. Some of the time the code shows up in the event section and we can update it, but other times the code does not show up. The control still works but the code that drives it is not in the event section so we can't manipulate it.

Thanks

[Migrated content. Thread originally posted on 07 February 2008]

We just received our 8.0 version and have started testing it with our previous projects (done in 6.2). So far we have seen no issues with converting old projects in to the new 8.0 framework. Has anyone else seen any areas of concern about converting projects to 8.0?

Once question that has come up is the Drag and Drop feature in 8.0. We have been playing with it and some times it creates code in the event paragraph that we can edit and other times it does not (puts the code in the prd file). Has anyone found this and if so how have you fixed it so that it always generates the code in the event paragraph (so that it is editable)?

Thanks for any help.
I think you'll find many ways to change the code in the prd if you look at the event tab in the property window when you paint a control (see attached bitmap). I added a paged list box to a screen. The navigation is implemented by exception procedures which can either be changed or eliminated

[Migrated content. Thread originally posted on 07 February 2008]

We just received our 8.0 version and have started testing it with our previous projects (done in 6.2). So far we have seen no issues with converting old projects in to the new 8.0 framework. Has anyone else seen any areas of concern about converting projects to 8.0?

Once question that has come up is the Drag and Drop feature in 8.0. We have been playing with it and some times it creates code in the event paragraph that we can edit and other times it does not (puts the code in the prd file). Has anyone found this and if so how have you fixed it so that it always generates the code in the event paragraph (so that it is editable)?

Thanks for any help.
I think you'll find many ways to change the code in the prd if you look at the event tab in the property window when you paint a control (see attached bitmap). I added a paged list box to a screen. The navigation is implemented by exception procedures which can either be changed or eliminated

[Migrated content. Thread originally posted on 07 February 2008]

We just received our 8.0 version and have started testing it with our previous projects (done in 6.2). So far we have seen no issues with converting old projects in to the new 8.0 framework. Has anyone else seen any areas of concern about converting projects to 8.0?

Once question that has come up is the Drag and Drop feature in 8.0. We have been playing with it and some times it creates code in the event paragraph that we can edit and other times it does not (puts the code in the prd file). Has anyone found this and if so how have you fixed it so that it always generates the code in the event paragraph (so that it is editable)?

Thanks for any help.
screen shot

[Migrated content. Thread originally posted on 07 February 2008]

We just received our 8.0 version and have started testing it with our previous projects (done in 6.2). So far we have seen no issues with converting old projects in to the new 8.0 framework. Has anyone else seen any areas of concern about converting projects to 8.0?

Once question that has come up is the Drag and Drop feature in 8.0. We have been playing with it and some times it creates code in the event paragraph that we can edit and other times it does not (puts the code in the prd file). Has anyone found this and if so how have you fixed it so that it always generates the code in the event paragraph (so that it is editable)?

Thanks for any help.
Attached is a screen shot showing where we have added a Paged list box with the Drag and Drop function. You will see that the events have been filled in with paragraphs but you will also see that when the project is ran that errors occur because the code for those paragraphs were not created. This is the issue that we see, sometimes the code is created and sometimes it is not.

Thanks again

[Migrated content. Thread originally posted on 07 February 2008]

We just received our 8.0 version and have started testing it with our previous projects (done in 6.2). So far we have seen no issues with converting old projects in to the new 8.0 framework. Has anyone else seen any areas of concern about converting projects to 8.0?

Once question that has come up is the Drag and Drop feature in 8.0. We have been playing with it and some times it creates code in the event paragraph that we can edit and other times it does not (puts the code in the prd file). Has anyone found this and if so how have you fixed it so that it always generates the code in the event paragraph (so that it is editable)?

Thanks for any help.
Your message stated you were working with a paged list box but it appears that you are working with a paged grid ( as the property sheet has a grid control). Have you added and then deleted controls from your screen?

I have noticed in 8.0 that if you added and then deleted controls from your screen that the prd is not cleaned up correctly (I'll be reporting this to Customer Care).

Try using a new program adding your paged grid and see if the paragraphs are still missing. If they are did you change the tools, option, code generation settings?

[Migrated content. Thread originally posted on 07 February 2008]

We just received our 8.0 version and have started testing it with our previous projects (done in 6.2). So far we have seen no issues with converting old projects in to the new 8.0 framework. Has anyone else seen any areas of concern about converting projects to 8.0?

Once question that has come up is the Drag and Drop feature in 8.0. We have been playing with it and some times it creates code in the event paragraph that we can edit and other times it does not (puts the code in the prd file). Has anyone found this and if so how have you fixed it so that it always generates the code in the event paragraph (so that it is editable)?

Thanks for any help.
Your message stated you were working with a paged list box but it appears that you are working with a paged grid ( as the property sheet has a grid control). Have you added and then deleted controls from your screen?

I have noticed in 8.0 that if you added and then deleted controls from your screen that the prd is not cleaned up correctly (I'll be reporting this to Customer Care).

Try using a new program adding your paged grid and see if the paragraphs are still missing. If they are did you change the tools, option, code generation settings?

[Migrated content. Thread originally posted on 07 February 2008]

We just received our 8.0 version and have started testing it with our previous projects (done in 6.2). So far we have seen no issues with converting old projects in to the new 8.0 framework. Has anyone else seen any areas of concern about converting projects to 8.0?

Once question that has come up is the Drag and Drop feature in 8.0. We have been playing with it and some times it creates code in the event paragraph that we can edit and other times it does not (puts the code in the prd file). Has anyone found this and if so how have you fixed it so that it always generates the code in the event paragraph (so that it is editable)?

Thanks for any help.
Bingo, the issue that you are talking about reporting is the issue that we are having!! If we start a new project and do the drag and drop everything is great (as the attached screenshot shows).

I will report this to Customer Support also, maybe two reports will help fix it faster.

Thanks again

[Migrated content. Thread originally posted on 07 February 2008]

We just received our 8.0 version and have started testing it with our previous projects (done in 6.2). So far we have seen no issues with converting old projects in to the new 8.0 framework. Has anyone else seen any areas of concern about converting projects to 8.0?

Once question that has come up is the Drag and Drop feature in 8.0. We have been playing with it and some times it creates code in the event paragraph that we can edit and other times it does not (puts the code in the prd file). Has anyone found this and if so how have you fixed it so that it always generates the code in the event paragraph (so that it is editable)?

Thanks for any help.
The code that is created is in the .evt file. You can go in and delete the code from the evt file.

If I deleted a control, I need to clean the evt, save the project, then continue to do new coding. If I do this the extraneous paragraphs do not get created.

[Migrated content. Thread originally posted on 07 February 2008]

We just received our 8.0 version and have started testing it with our previous projects (done in 6.2). So far we have seen no issues with converting old projects in to the new 8.0 framework. Has anyone else seen any areas of concern about converting projects to 8.0?

Once question that has come up is the Drag and Drop feature in 8.0. We have been playing with it and some times it creates code in the event paragraph that we can edit and other times it does not (puts the code in the prd file). Has anyone found this and if so how have you fixed it so that it always generates the code in the event paragraph (so that it is editable)?

Thanks for any help.
Here is what I learned. You are certainly correct to say that when a control is deleted, code that refers to the control needs to be cleaned up.

With the non-paged controls, this does happen automatically and
Acubench removes the item from WS. But the paged controls are
more difficult because of the fact that Users are welcome and
even expected to modify the evt paragraphs. So the cleaning gets
more difficult - i.e., if a user modified the name of an item
in WS, should Acubench go through the evt code and remove all
paragraphs that refered to the old item? Maybe, but maybe not!

The design choice becomes "how much should AcuBench do for the user?".
Acucorp took the KIS approach of "let the User modify the evt"
- and this means for clean up too.

[Migrated content. Thread originally posted on 07 February 2008]

We just received our 8.0 version and have started testing it with our previous projects (done in 6.2). So far we have seen no issues with converting old projects in to the new 8.0 framework. Has anyone else seen any areas of concern about converting projects to 8.0?

Once question that has come up is the Drag and Drop feature in 8.0. We have been playing with it and some times it creates code in the event paragraph that we can edit and other times it does not (puts the code in the prd file). Has anyone found this and if so how have you fixed it so that it always generates the code in the event paragraph (so that it is editable)?

Thanks for any help.
Here is what I learned. You are certainly correct to say that when a control is deleted, code that refers to the control needs to be cleaned up.

With the non-paged controls, this does happen automatically and
Acubench removes the item from WS. But the paged controls are
more difficult because of the fact that Users are welcome and
even expected to modify the evt paragraphs. So the cleaning gets
more difficult - i.e., if a user modified the name of an item
in WS, should Acubench go through the evt code and remove all
paragraphs that refered to the old item? Maybe, but maybe not!

The design choice becomes "how much should AcuBench do for the user?".
Acucorp took the KIS approach of "let the User modify the evt"
- and this means for clean up too.

[Migrated content. Thread originally posted on 07 February 2008]

We just received our 8.0 version and have started testing it with our previous projects (done in 6.2). So far we have seen no issues with converting old projects in to the new 8.0 framework. Has anyone else seen any areas of concern about converting projects to 8.0?

Once question that has come up is the Drag and Drop feature in 8.0. We have been playing with it and some times it creates code in the event paragraph that we can edit and other times it does not (puts the code in the prd file). Has anyone found this and if so how have you fixed it so that it always generates the code in the event paragraph (so that it is editable)?

Thanks for any help.
Below is the Acucorp Support incident number and work around until they get the issue fixed in Bench:

Update to SupportLine Incident #2189697 - Using Drag and Drop code not created after a control has been deleted and another created

Dear Keith,

I have been able to reproduce the problem and have raised an RPI with development.

Per the AcuBench developer, there are two work arounds for the problem. The first is to save the project, close the project and reopen the project.

The second is to close the event editor and working storage editor screens before using drag and drop to create a new control.

Some additional information from the developer was given in regards to the "Force variable check on load" option. This option is checked when new controls are created as well as when the project is first loaded.

If it is not checked, when a control is deleted from a screen and a new control of the same type added, it will use the same name as the previous control.

If it is check, following the same path, the control will have a new name instead of reusing the old control name.

Kind regards,

Jon Scally
Manager Technical Support
ACUCORP
A Micro Focus Company