OK. My items are loaded at design time in the Properties (Items/Collections).
That is why it doesn't work. As per your reply, I would need a datasource for
this to work. Thanks!
Arshad
"Peter Ritchie [C# MVP]" wrote:
> What have you set your DisplayMember to? FormattingEnabled applies to the
> DisplayMember property.
>
> --
> Browse http://connect.microsoft.com/VisualStudio/feedback/ and vote.
> http://www.peterRitchie.com/blog/
> Microsoft MVP, Visual Developer - Visual C#
>
>
> "Arshad Syed" wrote:
>
> > I dropped a ComboBox on a WinForm. I then set FormattingEnabled to true and
> > the FormatString for Currency in the Designer. I then added a couple of
> > numeric items to the Items Collection in the Designer:
> >
> > 3333
> > 4444
> >
> > Now when I run this, I expect to see the $ sign since I used the Currency
> > format, but I don't!!
> >
> > Please help!!
> >
> > Thanks,
> > Arshad