Re: Modern user interface elements will be added to MFC!
- From: "Rudy Velthuis [TeamB]" <newsgroups@xxxxxxxxxxxx>
- Date: 12 Nov 2007 10:43:07 -0700
Robert Giesecke wrote:
Why would you need such a thing?
In SWF, a ListBox doesn't necessarily hold strings, but objects and
you chose one property to be the DisplayMember. How would you write
this into a file? Binary serialization?
Well, exactly that is the problem: it gets so complicated and
convoluted. You keep on instantiating classes and setting properties to
do something you do with one or two lines in Delphi. Listboxes or
comboboxes containing strings are IMO still the common case. That they
decided to use objects doesn't make them more useful for the common
case.
What I hate about such components in WinForms is that they do not have
a uniform way to handle strings, like TStrings in the VCL. In some,
strings are exposed as an array, in others, as a class (but not the
same kind of class in each of them), or a list, etc.
--
Rudy Velthuis [TeamB]
"About the use of language: it is impossible to sharpen a pencil
with a blunt axe. It is equally vain to try to do it with ten
blunt axes instead." -- Edsger W. Dijkstra
.
- Follow-Ups:
- Re: Modern user interface elements will be added to MFC!
- From: Robert Giesecke
- Re: Modern user interface elements will be added to MFC!
- References:
- Modern user interface elements will be added to MFC!
- From: Bear
- Re: Modern user interface elements will be added to MFC!
- From: none
- Re: Modern user interface elements will be added to MFC!
- From: Kevin Frevert
- Re: Modern user interface elements will be added to MFC!
- From: Tony Caduto
- Re: Modern user interface elements will be added to MFC!
- From: William Meyer
- Re: Modern user interface elements will be added to MFC!
- From: Craig Stuntz [TeamB]
- Re: Modern user interface elements will be added to MFC!
- From: William Meyer
- Re: Modern user interface elements will be added to MFC!
- From: Robert Giesecke
- Modern user interface elements will be added to MFC!
- Prev by Date: Re: Modern user interface elements will be added to MFC!
- Next by Date: Re: Cross platform Delphi
- Previous by thread: Re: Modern user interface elements will be added to MFC!
- Next by thread: Re: Modern user interface elements will be added to MFC!
- Index(es):
Relevant Pages
|
Loading