dmosca,
O problema pode vir de "decisionmaxstring" que pode provocar um "enter".
Ao colocar código no evento "return" este é executado duas vezes.
No manual de FujitsuCobol:
Cita:
|
❞
DecisionMaxString Property
Description:
Indicates whether input is completed when the input character string reaches the field length defined by the RenderText object.
Used in controls: Table TextBox
Used in objects: None.
Value (with constants):
True - Fixed input. - Focus moves to the next cell. (POW-TRUE)
False - Not fixed input. - Focus does not move. (POW-FALSE)
When it is true, and a cell is filled, the focus moves to the next cell to the right, or the first cell of the next line. If there are no cells to move to, the focus does not move.
When it is False, the focus remains in the cell, but attempts to extend the data beyond the maximum length are ignored.
|
Un saludo,
Rui Pinto