Typing in the last position of a form field overwrites the last character in the field

Gjerstad, Øyvind via Aubit4gl-discuss <[email protected]> Tue, 15 Jun 2021 10:52:54 +0000
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <[email protected]>
For instance when we have a form field of length 3, and after typing "abcd", the string now contains "abd". If I continue typing into the field, I will continue to overwrite the last character in the field. This in contrast to Informix 4gl, which will stop accepting input after the string has reached it full length.

the 4gl source:


main

  define foo char(4)


  open window w_input at 1,1 with form "form"


  input foo from f1

  close window w_input


  display foo

end main


The form (form.per)


database formonly

screen size 24 by 80

{

+---------+

| [f1  ]  |

+---------+

}

end

attributes

  f1 = formonly.f1;

end

Known issue? Is this something which we can configure, or does it require changes in aubit4gl source?

_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss