[fpc-pascal]GTK: multiline label

James Mills prologic at daisy.ods.org
Fri Oct 10 07:53:05 CEST 2003


On Thu, Oct 09, 2003 at 06:59:41AM -0700, Gene Buckle wrote:
> > Hello
> >
> > 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
> >
> 
> Would gtk_label_new('Line1' + #13 + 'Line2'); work?

Probably only for Linux/Unix

cheers
James

-- 
-
-Zero Defect Software Engineers Group - ZDSEG
-
-You need only two tools. WD-40 and duct tape.
-If it doesn't move and it should, use WD-40.
-If it moves and shouldn't, use the tape.




More information about the fpc-pascal mailing list