Thanks Michael, Brian, Curt
Found out I should've been using List*Box*Item instead of ListItem as I'm
working w/ a ListBox, but now have this piece working. The pointers and
suggestions were REAL helpful in tracking down what I actually needed, even
though I started out asking for the wrong th
On Thu, Mar 11, 2010 at 9:33 AM, Ken MacDonald wrote:
>
> Thanks Michael,
> All of the other controls (StackPanel, Grid...) are being imported from
> System.Windows.Controls,
> so I thought ListItem ought to have been somewhere in there.
Given that you seem to be using WPF, you probably want
Sys
On 11/03/2010 17:33, Ken MacDonald wrote:
Thanks Michael,
We're using .NET, so this should be OK, I guess?
If you're using IronPython that you are definitely using .NET. Do you
mean you are using ASP.NET?
All of the other controls (StackPanel, Grid...) are being imported
from System.Window
Thanks Michael,
We're using .NET, so this should be OK, I guess? All of the other controls
(StackPanel, Grid...) are being imported from System.Windows.Controls, so I
thought ListItem ought to have been somewhere in there.
>
> from System.Web.UI.WebControls import ListItem
>
>
> That's for ASP - i
On Thu, Mar 11, 2010 at 11:11, Ken MacDonald wrote:
> Hi, I have an app with a popup containing a listbox. I want to dynamically
> add a few items to the listbox and found code in a number of places which
> does something like:
>
> listbox.Items.Add(ListItem("Special", 11))
>
On 11/03/2010 17:11, Ken MacDonald wrote:
Hi, I have an app with a popup containing a listbox. I want to
dynamically add a few items to the listbox and found code in a number
of places which does something like:
listbox.Items.Add(ListItem("Special", 11))
listbox.Items.A
Hi, I have an app with a popup containing a listbox. I want to dynamically
add a few items to the listbox and found code in a number of places which
does something like:
listbox.Items.Add(ListItem("Special", 11))
listbox.Items.Add(ListItem("Regular", 19))
However, I can't