IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Is a casting issue
This syntax works:

((ComboBox) htFieldAddrMap[field]).Text = val;
New Is a junk idiom issue - see Todd's post
-drl
New Is a language library/design issue
This is telling:

"I then have a switch statement that attempts to assign
the data to the value field."

Not very OO is it. Polymorphism possible? Guess not. If you ever have a switch statement (or ladder-like if else construct) discriminating on type, then you have a broken OO system or class library.

No polymorphism, no OO.



That was lovely cheese.

     --Wallace, The Wrong Trousers
Expand Edited by tuberculosis Aug. 21, 2007, 06:19:10 AM EDT
     Casting in C#? - (broomberg) - (24)
         What about things like strtoint? - (broomberg)
         WARNING - HUNGARIAN NOTATION HEREIN -NT - (deSitter) - (22)
             I've crossed the annoyance threshold - (broomberg) - (20)
                 Not likely to be a casting issue - (ChrisR) - (8)
                     Oh please. - (broomberg) - (4)
                         Just going by the original error - (ChrisR) - (3)
                             Thank you - (broomberg) - (2)
                                 Classic library design issue - (ChrisR) - (1)
                                     This is not a problem in REAL OO languages - (tuberculosis)
                     Is a casting issue - (broomberg) - (2)
                         Is a junk idiom issue - see Todd's post -NT - (deSitter)
                         Is a language library/design issue - (tuberculosis)
                 /me whistles nonchalantly to myself in public -NT - (FuManChu) - (10)
                     'splain please. -NT - (broomberg) - (9)
                         Use Python. - (admin) - (8)
                             What GUI toolkit? - (broomberg) - (7)
                                 wxThingy, I wot. -NT - (pwhysall) - (5)
                                     Re: wxThingy, I wot. - (pwhysall) - (4)
                                         Valid weekend project - (broomberg) - (3)
                                             Re: Valid weekend project - (admin) - (2)
                                                 My unscientific impression from the newsgroup - (FuManChu) - (1)
                                                     Self-selecting sample - (drewk)
                                 wxWindows/wxPython -NT - (admin)
             GAK!!! -NT - (jb4)

The universe is 98 percent hydrogen and helium... and I'm rather fond of the other 2 percent.
57 ms