4D Write, Set Text Property problem

View: New views
1 Messages — Rating Filter:   Alert me  

4D Write, Set Text Property problem

by John Staples :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all

4D 2004.x.

I am using WR Insert Expression to generically call data for  
printing; no problems.

However, how can I restrict the WR SET TEXT PROPERTY for borders to  
the 2nd expression,
and leave the initial header paragraph borders alone.

My attempts to get the area data paragraphs selection only have failed,
the total frame area is altered.
Is this possible after a call to Insert Expression? Is so, how?

          `---------------------------------------header
        WR SET TEXT PROPERTY (WR_AREA;wr bold ;1)
        WR SET TEXT PROPERTY (WR_AREA;wr underline ;1)
        WR INSERT EXPRESSION (WR_AREA;"WR_HeaderText")
          `
          `---------------------------------------data
        WR SET TEXT PROPERTY (WR_AREA;wr bold ;0)
        WR SET TEXT PROPERTY (WR_AREA;wr underline ;0)
          `
        WR SET TEXT PROPERTY (WR_AREA;wr border line style ;3)  `Dotted
        WR SET TEXT PROPERTY (WR_AREA;wr inside bottom border ;1)  `True
        WR INSERT EXPRESSION (WR_AREA;"WR_Structure_DataText")

With anticipatory thanks
John Staples UK.
**********************************************************************
4D Server v11 SQL has arrived!
Buy it NOW at http://store.4ddepot.com

4th Dimension Internet Users Group (4D iNUG)
FAQ:    http://www.4d.com/support/faqnug.html
Unsub:  mailto:4D_Pub-Unsubscribe@...
Post: mailto:4d_pub@...
Options: https://lists.4d.com/mailman/listinfo/4d_pub
**********************************************************************