Dialog editor and Linefeed

Started by siocnarf, March 19, 2021, 09:50:44 AM

Previous topic - Next topic

siocnarf

Hi,

I  have a text variable: "This is a potato" and I would like to put in dialog editor a LF in the string to put potato on a second line.

If I do "this is a @LF potato then the texte will just show "this is a @LF Potato"
How may I do that?

Thanks,

Francois

td

Assuming you are referring to one of your dialog's control variable you put the @LF in the variable and not Dialog Editor.

TheVariable = "this is a":@LF:"potato"
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

td

If you were referring to some text that is part of a control's title but not something you can change inside a dialog callback procedure then you need to substitution in the dialog template. You can also specify substitution in the Dialog Editor. If you do use substitution in the template, you can't use the "Open with WIL" menu options when loading the template into the Editor.
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade