Holger's Thoughts on Delphi

Sunday, April 09, 2006

Is there no TMemo-alike in Winforms?

Coming from a VCL background I was looking for a TMemo in Winforms for the first time I used it. To spare you some time: there is no component like that in Winforms. Simply use the TextBox, which is the TEdit in Winforms, and set the MultiLine property to True. There you go.


Another striking difference is that Winforms handles the Lines property as an "Array of String", not TStringlist, which is way more comfortable.

1 Comments:

  • One thing that scares me in winforms also is theres no drawgrid either! (or I couldnt find one) .. the whole .net type stuff seems so much of a backward step, yes theres plenty of premade libraries, but there are even more for win32

    Liz

    By Blogger Riley, at 1:39 PM  

Post a Comment

Links to this post:

Create a Link

<< Home