Jump to content

TUnimLabel - Overlaps to other Form


Recommended Posts

Hello,

Can someone explain me why the "labelTime" is showed in the "formEinkauf" ? (see picture)
Both label overlap eachother but they are on diffrent forms.
If i press the button "Einkauf" the frmEinkauf gets showed with "frmEinkauf.ShowModal()".

Is it necessary to use some sort of container that contains the label ?

Regards,
Int3g3r

labeloverlap.jpg

Link to post
Share on other sites
On 10/6/2020 at 1:58 PM, x11 said:

i have a similar problem

:(

Can no one help or say anything about this problem ?
Is this a bug, or do we something wrong ?

Regards,
Int3g3r

Link to post
Share on other sites
1 minute ago, Int3g3r said:

Can no one help or say anything about this problem ?
Is this a bug, or do we something wrong ?

Hello,

I will open a ticket in the support portal.

Link to post
Share on other sites
  • 2 weeks later...

I noticed now that overlapping only happens if i use "TUnimFieldContainer" on both forms in the same place.

Are there any news about the opened Ticket ?

Link to post
Share on other sites
  • 2 weeks later...

I had the same issue but I thought that it was by design and did not report it.

This is how I solved it (I am not sure if it helps in your case)

New form is opened on top of an other form: (Capture1.png)

1) on its UnimFormShow I have
  UniSession.AddJS('document.getElementById("'+cpMenuContainer.JSId+'").parentElement.style.backgroundColor="rgba(1,1,1,0.5)";');

So that it darkens the previous form's visible area.

2) Also cpMenuContainer has its Color property set

3) I open the frmGetVisitType as Modal

 

 

Capture1.PNG

Capture2.PNG

Link to post
Share on other sites
  • 3 weeks later...

I'm displaying the Forms always full screen. I don't use menus like you do.
I tested your solution this doesn't work for me.

It's like i can see through the displayed form. Here is a other example.
You can see here a Button, Input Field and a Grid that should not get displayed. (yellow marked)
Those components are from the Formular before.

Regards Int3g3r

example.JPG

Link to post
Share on other sites
1 hour ago, Int3g3r said:

I'm displaying the Forms always full screen. I don't use menus like you do.
I tested your solution this doesn't work for me.

It's like i can see through the displayed form. Here is a other example.
You can see here a Button, Input Field and a Grid that should not get displayed. (yellow marked)
Those components are from the Formular before.

Hello,

Please make a simple testcase to reproduce.

Link to post
Share on other sites
×
×
  • Create New...