RTF-Area questions

Questions and answers for designing and implementing forms in Servoy

RTF-Area questions

Postby Harjo » Tue Jun 10, 2003 1:24 pm

I have 2 questions about RTF-Area.

1.) If I set my RTF-Area to grow vertical, in previewmode it will stop at the bottom of the page, while the area contains much more text. How can I let a RTF-Area grow to another page?

2.) In Design-mode I'll give my RTF-Area fontproperty: Verdana 10pt.
So I assume that the default font = Verdana 10pt. But in edit mode it is'nt! Is this normal??
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Postby maarten » Tue Jun 10, 2003 11:09 pm

I've tested both situations and posted them as bugs to dev. team.
Thanks for mentioning
Maarten Berkenbosch
User avatar
maarten
 
Posts: 797
Joined: Wed Apr 23, 2003 10:52 pm
Location: Amersfoort, Netherlands

Postby Jan Blok » Tue Jun 24, 2003 2:15 pm

1) fixed in 1.1 rc3

2) is fixed, available in next release
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Postby Harjo » Tue Jun 24, 2003 2:42 pm

Jan Blok is the quick DOC!

GO JAN!!!! :lol: :lol: :lol:
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Postby Harjo » Tue Jun 24, 2003 2:54 pm

My RTF-Area does not grow, if I set the RTF AREA to: Allow height to: Grow. It stops on the bottom the paper.
My RTF Area is 450px by 250 px, scrollable, printable and edittable
My RTF Area contains much more text. I am using 1.1 rc3 too.

Am I overlooking something?
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Postby Jan Blok » Tue Jun 24, 2003 3:10 pm

1) disable scrollable

2) a note is added to the latest docs:
IMPORTANT: Fields with the property displayType XXXX_AREA:
RTF_AREA, HTML_AREA, or TEXT_AREA - can ONLY be set to increase/decrease in width OR increase/decrease in height.

please check this (other wise it does not know to which size to grow/shrink)

3) does the part (body) on which the element is placed have the property 'allowBreakAcrossBounds' = true ?
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Postby Harjo » Tue Jun 24, 2003 3:31 pm

Yep, all points checked! That was allright.

The point was that I had to drag the body to the bottom, to 2 or 3 pages, then the Area is growing. The Area does not grow behond the body-part!

Thanks anyway
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Postby Jan Blok » Tue Jun 24, 2003 4:19 pm

Hmm, we missed a point here.
If I create a RTF_area (NOT scrollable,size 320 by 50,printsliding - heigth grow/shrink) and make my body part 10 pix bigger than the area and 'allowBreakAcrossBounds' = true

now I fill the area with 3 pages of text (with does for sure not fit), go to print preview and the rtf_area (and body part) is grown over 3 pages.

So there should be NO need to make your body part very big or place the rtf_area in a huge size...
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Postby Harjo » Tue Jun 24, 2003 4:48 pm

Hmm strange,.... i put back my body-part to one page and now it works.
I am sure it didn't .

OkM-i, again a problem solved.

But I got the same problem as in Filemaker, sometimes the text (last or first line) is broken in half. Is there anything to do about it?
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Postby Jan Blok » Tue Jun 24, 2003 5:10 pm

We do smart breaking, but if you are using rtf_area of html_area sometimes it is just impossible to break right

Breaking is always correct when text_area / text_field is used

see attached image for impossible break
Attachments
breaking.gif
impossible break
breaking.gif (1.48 KiB) Viewed 8880 times
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Postby Harjo » Tue Jun 24, 2003 5:35 pm

OkM-i that I understand, but with normal text too?
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Postby Jan Blok » Tue Jul 01, 2003 9:37 am

Is fixed will be in next release 1.1 RC4 (this week)
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam


Return to Forms

Who is online

Users browsing this forum: No registered users and 33 guests

cron