AW: [fpc-pascal]GTK: multiline label

ZINTEL Gerhard gzintel at stadeln.faurecia.com
Thu Oct 9 10:00:44 CEST 2003


> 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

> 
> 
> 
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> 




More information about the fpc-pascal mailing list