WPCubed Product Support

InputEditField in cell with DisplayText starting with '+'

WPTools 6.13

This works fine, the '+' is showing:

Editor->InputEditField("name", "+value");

This doesn't work, the '+' is not showing (the EmbeddedText does however contain the '+'):

TParagraph* table(Editor->FirstPar->AppendNewPar(false));
table->ParagraphType = wpIsTable;
TParagraph* row(table->AppendNewRow(true));
TParagraph* cell(row->AppendNewCell(true));
Editor->ActiveParagraph = cell;
Editor->InputEditField("name", "+value");

So, what's happening here?

Regards
patrik.nyborg(a)genicore.se[/code]

#1 ♥ 0
3.1k Views 1 users read 1 min

Blörg, a global search on all '+' shows that the following is the troublemaker...

{$IFNDEF IGNORE_PLUSMINUS_IN_REFORMAT}

sigh

Regards
patrik.nyborg(a)genicore.se

#2 ♥ 0
This category is archived. No new posts are possible.