Jump to content
zapat

Multi line RscEdit and line break

Recommended Posts

I know how to make an edit box multiline. (style= 16; that is style = ST_MULTI)

However: is it possible to make a linebreak somehow?

linespacing is added in the hpp, I've tried htmlControl = 1, but no linebreaks for <br> nor for \n (which usually work for style 16)

Is there a way to do such?

Share this post


Link to post
Share on other sites

Had the same problem... and never managed to get it to work.

And as you can see with the init boxes in the editor which seems to be rscEdit, its not possible to do a line break there so i doubt it is even possible...

Share this post


Link to post
Share on other sites

So if anyone stumbles upon this here is a solution:

class RscEdit // default RscEdit
{
	...
};

class RscEditMulti: RscEdit
{
	style = ST_MULTI;
};

Linebreaks are accomplished with toString [10]

 

Also there is a default A3 class called RscEditMulti

  • Like 2

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×