Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2003-10

AW: GTK: multiline label

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

ZINTEL Gerhard
Show quoted text 11 lines
How ist possible to make initialize in fpc a multiline label. Something like Lbl := gtk_label_new('Line1 \n Line2'); I guess but with what do I have to replace the "\n" ? Thank's for any help Pedro

one possibility is:

Lbl := gtk_label_new('Line1 '#10' Line2');	// for UNIX or
Lbl := gtk_label_new('Line1 '#10#13' Line2');	// for DOS/Windows
Show quoted text 7 lines
_______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal