Strange behaviour in 4.0.3

Started by Benjamin G., April 07, 2022, 11:12:54 PM

Previous topic - Next topic

Benjamin G.

Hello,

Using unbuffered mode after using a "CLEAR" on a form field the color attributes is ignored ...
see attached sample (comment / uncomment the call a function buggy)

Regards

fglcomp 4.00.03 rev-82223658
Genero 4gl compiler
Target l64xl217

Reuben B.

Ben,

With cases like this where you think there is a bug in Genero, it is more appropriate to raise a support case via the support portal.  That will trigger any SLA timers etc

I will point out two notes in the documentation

In the CLEAR statements http://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/c_fgl_record_display_CLEAR_field.html there is a Note: CLEAR field-list clears the field values and resets the TTY attributes to NORMAL

And also this entry about the use of CLEAR with UNBUFFERED http://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/c_fgl_dialog_CLEAR_instruction.html

I would recommend you use presentation styles instead of TTY attributes, and review the use of CLEAR if you are using UNBUFFERED.

Reuben

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero