Window manipulating problems with 4GL v4.10
Posted in 1994
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Platform-Specific Issues
Hi, I'm having some problems with 4gl 4.10UE2 on INFORMIX ON-LINE 5.0UD1. The actions associated with the insertion of new lines or with the removing of existing ones are not working properly. The following program is a simple example of the situation: file t3.4gl: ----------- main define p_teste array [20] of record numero smallint, descricao char(40) end record, i smallint options delete key control-e, insert key control-i call startlog("ERROS.TXT") for i = 1 to 20 let p_teste[i].numero = i using "<<<<<" let p_teste[i].descricao = "Linha n. ", i using "<<<<<" end for open window w_teste at 3,3 with form "t3" attribute (border, form line first, prompt line last, comment line last-1, message line last) call set_count(20) input array p_teste without defaults from s_teste.* close window w_teste end main The problems observed were: 1 - When you try to insert a new line with control-i the 4gl duplicates the actual line. 2 - When you remove the last line of the array, the 4gl doesn't remove it from the screen. We've search in the $INFORMIXDIR/release/TOOLREL_4.1 file and we found an error with the number 10522. The situation reported has some similarity with this bug. My question is, this is the BUG? If it is, is there any newly version that repairs it? If you need more details about the 10522 bug mail me. I'm working on a SPARC SERVER 10/51, with Solaris 2.1. The aplication was developed over INFORMIX ON-LINE 5.0.UD1 and with INFORMIX-4gl 4.10.UE2. Thanks in advance. ------------------------------------------------------------------------ Ana Lucas Dept. Inf. Fac. Ciencias, Univ. Lisboa, Bloco C5 - Piso 1 - Campo Grande, 1700 Lisbon - Portugal T: (351) 01 757 78 31