[Migrated content. Thread originally posted on 03 April 2008]
Hi,I've read posts that have touched on this but havent found a real way to deal with this:
The issue is changing tabs and the Generate Source function. I believe the concept behind AcuCobol is graphical development - make the graphical changes to build a screen then let AcuBench build the associated logic - the problem is that when I build a tab control and generate source, the "Acu-Screen1-Ta-1-Cmd-Tabchanged" automatically built with the Gernerate Source command inserts the following at the bottom of the Evaluate statement:
END-EVALUATE
* Before-Tabchg-Display
DISPLAY Screen1
* After-Tabchg-Display
The Display command does not terminate the previous accept - therefore after changing tabs 9 times you get a warning about recursive accepts.
AcuCobol allows you to define an event for tab change that you can enter into the Event module but it is ignored because of the generated source. I can tell Bench not to generate EVT but that defeats the whole purpose of graphical development - there has to be a way to prevent Bench from automatically generating this Event - isnt there??
Sorry for such a long winded explanation!!



