No matter what I set the Sliding properties to, I cannot see any change in the body of my form in print preview (see Attached)
The date and initials fields are defined as fields, the text is defined as a text_area.
Obviously, I want to shrink the white space of the text area before the next record is printed. I’ve coded the text_area to grow and shrink and allow to move horizontal. I’ve also tried other combinations- none of which seem to have any effect. what am I missing ? The documentation has no examples to follow.
I see an exclamation in the statusbar of the window. That means there is something wrong.
My educated guess (from my own experience) is that you have overlapping elements. This for one won’t let your elements slide.
Please check this!
Am not able to determine what is causing the warning triangle in the status bar. Is there a way to determine what has caused the warning to appear?
There is no overlap of the fields on the Body part. I also stripped out all other parts so that only the Body part remains. Still no sliding.
yep, double click on the exclamation mark and you will get a message telling you why it is there…
And, why don’t you make your body part like one line hight (25 pixels or so) and your field(s) also (20 pixels or so) and try again but now not with shrinking but growing…
No that doesn’t work either. Can someone at Servoy please advise as to how this should work?
I also get lots of these errors on forms with the yellow triangle. Have tried compleletly rebuilding forms and still get them even when no overlapping elements in layout mode.
Seemed to work slightly better when reducing all fields to 1 line (20px) high and setting to expand if required. However this appears to be a bit hit and miss in print/preview mode, where sometimes the field expands too much.
I think there may be a bug where if you have a complex layout in list mode with items expanding and there are other items below these which slide, then there appear to be problems.
Am using ver 2.0.3 on Win XP.
Any ideas?
cjemichael:
… and still get them even when no overlapping elements in layout mode.
If you double click it tells you nothing? (it has to, all these errors are also logged in the .log.txt file in you install dir.)
Sorry if my earlier post was un-clear. I was able to double click on the yellow triangle to see the error text and resolve that issue.
No that doesn’t work either. Can someone at Servoy please advise as to how this should work?
The quoted statement refers to my in-ability to get sliding working by reducing the fields to 20 px and setting the field to expand. I am still stumped.
So you do not have any warning related to printing anymore? and it still don’t work? (if not working please provide sample to demonstrate us or send us your solution)
Correct. There is no more warning icon (warning was related to a calculated field that had a problem). The sample above in my first post still persists.
why did you make the description field so big, I suggest to make it 20px high, like the other fields and allow to let it grow in printsliding oiptions.
What field type is that field?
why did you make the description field so big
Originally I had it 20 px high, and set to grow; when that didn’t work, I set it to large size and set to shrink- still no luck. That was some time and a few releases ago and I just ignored the problem. Today when I set the field tyo 20 px and set to grow and shrink, It Worked! (using Servoy Developer Version R2 2.1-build 310 Java version 1.4.2_04-b05 (Windows 2000))
Field types I’ve tried are RFT and Text Area. Both now work correctly.