Skip to main content

Hi

I did migration from 9.7.04 to 1.3.02.
When testing the application we observe a strange behaviour with hidden field.
In 9.7 the fields are hidden and the place is displayed in the background of the component.
In 10. the field is hidden but instead of background of the component I see some other fragments of other applications or black squares.

The frame a development time
The two red an the light blue fields are hidden

At run time

Any idea what's going wrong?
Ingo

Hi

I did migration from 9.7.04 to 1.3.02.
When testing the application we observe a strange behaviour with hidden field.
In 9.7 the fields are hidden and the place is displayed in the background of the component.
In 10. the field is hidden but instead of background of the component I see some other fragments of other applications or black squares.

The frame a development time
The two red an the light blue fields are hidden

At run time

Any idea what's going wrong?
Ingo

Hi Ingo,

could it be "transparency" setting is your enemy here?

Gianni



Hi

I did migration from 9.7.04 to 1.3.02.
When testing the application we observe a strange behaviour with hidden field.
In 9.7 the fields are hidden and the place is displayed in the background of the component.
In 10. the field is hidden but instead of background of the component I see some other fragments of other applications or black squares.

The frame a development time
The two red an the light blue fields are hidden

At run time

Any idea what's going wrong?
Ingo

Hi Gianni
The hint with trancparency is a step in the right direction 🙂

But ...

I brought some colors into play
(1) component is green (fore- and background)
(2) entity is brown
(3) field is pink (index color removed)


Then with transparency=true

Looks good

But with transparency = false

Oops, there are is nasty stains (black or other display parts)

Ingo


Hi

I did migration from 9.7.04 to 1.3.02.
When testing the application we observe a strange behaviour with hidden field.
In 9.7 the fields are hidden and the place is displayed in the background of the component.
In 10. the field is hidden but instead of background of the component I see some other fragments of other applications or black squares.

The frame a development time
The two red an the light blue fields are hidden

At run time

Any idea what's going wrong?
Ingo

So, now the hidden works:

I have to change this line in the INI-file
;EditBox=ueditbox(font=editfont;autoselect=on;dimmedbackcolor=off)
EditBox=ueditbox(font=editfont;autoselect=on;dimmedbackcolor=on;transparency=true)

dimmedbackcolor and transparency has to set to on resp. true.
Any other combination leeds to the unwanted behaviour

BUT:
Now all fields visibile are also transparent, what's also not wanted.
And don't answer: use a seperat logical widget for hidden fields.
Some fields have to displayed and hide depending on the status of other fields 🙂

I believe, this is a bug. Or UnifAce ?

Ingo


Hi

I did migration from 9.7.04 to 1.3.02.
When testing the application we observe a strange behaviour with hidden field.
In 9.7 the fields are hidden and the place is displayed in the background of the component.
In 10. the field is hidden but instead of background of the component I see some other fragments of other applications or black squares.

The frame a development time
The two red an the light blue fields are hidden

At run time

Any idea what's going wrong?
Ingo

The problem with the hidden fields, described in this post, should be resolved now with the patches 10.3.02.044 and 9.7.05.055.

I hope this helps.

Daniel