Portal property problem

I have create several tables and have a form that has a portal on it. I don’t much care for the default portal, so I use the multiline on the property pane.
I build my form, and then printed it out. All of the fields in the protal are smash over to the left. I checked and I don’t have print sliding on.
The only two rows checked are: printable and multiline.
I have the row height set at 47.
Print Slide is off.
Anchors are top,left.
The size of the portal is: 723,94.
Intercell spacing is: 0,0.

What property am I missing?

Does something need to be turned on to print correctly?

For some reason, I can’t post attachments, so I wrote down the properties instead.

Does this also happen in print preview?

What happens when you uncheck multiline?

What happens when you use a form on a tab instead of a portal?

Yes it also happens in print preview.

If I turn off mulitline, then I get the default portal. I want to have more layout control than the default portal gives.

I will try a tabpanel and see how that works. But my guess is that a tabpanel will not give me the desired look I want when it comes to printing.

If I turn off mulitline, then I get the default portal. I want to have more layout control than the default portal gives.

That question was not meant to have a discussion :) simply to check if it gives the same behavior.

I will try a tabpanel and see how that works. But my guess is that a tabpanel will not give me the desired look I want when it comes to printing.

Whatever it is you want to do with a portal can be done with a form in a tabpanel imho.

When I turn off multiline, the portal prints correctly.
But there must be a way to print correctly in multiline. If not what is the use of having it?

I tried the tabpanel, and unfortunatly, my main form is a listview. The tabpanel does not seem to like being in a listview.

Wait a minute…

So, you are printing a form in listview with a portal in the list?

Maybe that is where the issue comes from? Can anyone else comment on this? I don’t use portals…

But there must be a way to print correctly in multiline. If not what is the use of having it?

Display on screen?

I also tried the multiline portal in recordview, and it did the same thing. It smashed all of the fields down to the left when I print.

Hmm, I am out of suggestions…

No one else has experienced this problem?

BTW I am running Servoy Developer 3.0b3 on a windows xp machine with Java Version 1.5.0 (build 1.5.0_06-b05).

I played around with this a couple of years ago. I’m sending you directly some screen shots from that solution because it seems that the attachment thing here isn’t working (or at least it wasn’t a couple of days ago). This solution is actually running Servoy 2.2.4 but I imagine it is the same. It is using a multilineportal and shrinks and grows depending on the number of records in the related child table.

I’ve attached four screen shots. The first is the form as it actually prints called ‘PrintScreen’. I’ve left off the patient name for obvious reasons but otherwise this is exactly how it prints. The form is based on the parent table ‘patient’ and the portal shows the child records from the table ‘course’. The fields in bold are from the parent table and the other fields in plain print are from the child records in the multiline portal. I have also attached screen shots in ‘Design’ mode showing the properties of the form, the multilineportal and one field in the portal. I thought this would be easier than trying to trouble-shoot your problem.

Attachments don’t work (anymore). Put them on a server and link to it with the URL tag.

I got your e-mail. Thanks John. Well, from looking at what you are doing, and what I am trying to do, I don’t see any difference. I wonder if this is a bug with version 3?

I will download a version2, install and build a mock solution since they are not backward compatable. I will see what that does.

Well, I was able to track it down. It is a bug in 3.0. It does not handle multiline portals well in printing.

I just loaded servoy2.2 and created a test solution, and the portal did as it was supposed to do! All of the fields stay put.
I exported the solution out and installed servoy3.0rc6 and loaded the solution. When in print preview, it smashed all of the fields together at the left side.

I will also post in the bug database!

Well, I was able to track it down. It is a bug in 3.0. It does not handle multiline portals well in printing.

I just loaded servoy2.2 and created a test solution, and the portal did as it was supposed to do! All of the fields stay put.
I exported the solution out and installed servoy3.0rc6 and loaded the solution. When in print preview, it smashed all of the fields together at the left side.

I will also post in the bug database!

Glad :roll: to know it is a bug in 3 and it works in 2.2… Already started wondering…

The only problem is that my solution is built in 3.0 and if I am not mistaken, I cannot move backward once I have built the solution in a later version. So, I am trying to work with tabs panels, but it would be MUCH easier with multiline portals!

please fill in a case in the servoy support solution, with a sample-solution.
If it is a bug, they will fix it.

I posted the problem, but I can’t upload a sample solution. It keeps giving me a internal error. What’s up with not being able to upload stuff!

Multiline portal printing will be fixed in Servoy 3.1 and 3.0.2

Is there an estimated release date on Servoy 3.02?