Skip to main content

Hello,

When migrating forms from U9.7 to UNIFACE 10.3 we were able to modify form comments via our own form tool entry using %%^for carriage return (form comment in 9.7 where in LISTING.UFORM but this is now obsolete and U10 use UCOMMENT.UFORM). It worked wor migrated forms, but after editing in U10 form comments, via IDE, we found that U10, due to new functionnality for style in comment, is adding "\\par" at each line's end. In some cases it adds "\\par}" or "\\par%%^}"

Our internal tool was not able to manage adding new line comments with %%^, our text was added but not displayed or not displayed correctly in form comment in IDE.

In Debug quick watch window it's like :

bla bla bla\\par

totototo\\par

newline1

newline2

But in ide Form Doc section :

bla bla bla

totototo

newline1newline2


The workaround was to manage those different cases by adding "/par" on our own new lines and removing }

In a form script we need to update text contained in UCOMMENT.UFORM by adding new multiline text using carriage return.


We did not find in Uniface 10 help files informations about this behaviour change...

Bye


Be the first to reply!