Four Js Development Tools Forum

Discussions by product => Genero BDL => Topic started by: Benjamin G. on April 07, 2022, 11:12:54 pm



Title: Strange behaviour in 4.0.3
Post by: Benjamin G. on April 07, 2022, 11:12:54 pm
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


Title: Re: Strange behaviour in 4.0.3
Post by: Reuben B. on April 26, 2022, 12:50:32 am
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