Re: [IronPython] adding items to a listview (what am I doing wrong)

2010-12-13 Thread robinsiebler
robinsiebler wrote: > > I am trying to add items to a list view. Just to make sure it works, I add > 1 item when the control is created. However, when I try to add an item at > run-time (using the same code), the item is not added to the control: > > it

[IronPython] adding items to a listview (what am I doing wrong)

2010-12-07 Thread robinsiebler
I am trying to add items to a list view. Just to make sure it works, I add 1 item when the control is created. However, when I try to add an item at run-time (using the same code), the item is not added to the control: item2 = ListViewItem() item2.Text = self.currG

Re: [IronPython] Re turning data to a form

2010-11-28 Thread robinsiebler
But then I still only have the data in the 2nd (child) form. How do I get it to the 1st (main) form? Michael Foord-3 wrote: > > On 28/11/2010 18:47, robinsiebler wrote: >> I have 2 forms, form a has a button that launches form b. Form b has 2 >> textboxes and an OK button.

[IronPython] Re turning data to a form

2010-11-28 Thread robinsiebler
I have 2 forms, form a has a button that launches form b. Form b has 2 textboxes and an OK button. When the OK button is clicked, I want the form to close and the data to be returned to form a. How do I do this? -- View this message in context: http://old.nabble.com/Returning-data-to-a-form-tp3

[IronPython] Passing Parameters to a background worker thread

2010-06-16 Thread robinsiebler
I'm trying to use BackgroundWorker to make my app multithreaded. I can't figure out how to pass a parameter to it when I call it. How do I do this? -- View this message in context: http://old.nabble.com/Passing-Parameters-to-a-background-worker-thread-tp28907636p28907636.html Sent from the Iron

Re: [IronPython] Willing to pay for help

2010-05-27 Thread robinsiebler
tion on the UI thread. With Windows Forms, > this > involves calling System.Windows.Forms.Application.DoEvents(). > > On Thu, May 27, 2010 at 11:55 AM, robinsiebler > wrote: > >> >> This is my 1st IronPython/.NET app. It is really simple, all it does is >> z

[IronPython] Willing to pay for help

2010-05-27 Thread robinsiebler
This is my 1st IronPython/.NET app. It is really simple, all it does is zip all the files in a folder into an archive, 1 file per zip. The problem is that when it is zipping large files 200MB+ the app stops responding. It is still zipping files, but the UI doesn't update. I don't know how to fix

Re: [IronPython] App stops responding, form won't refresh

2010-05-26 Thread robinsiebler
; > On 26/05/2010 23:46, robinsiebler wrote: >> I've looked at both of them before I posted this, but I'm just failing to >> understand it I guess. >> >> > > Perhaps this example would be better - it shows updating a progress bar > fro

Re: [IronPython] App stops responding, form won't refresh

2010-05-26 Thread robinsiebler
I've looked at both of them before I posted this, but I'm just failing to understand it I guess. Michael Foord-5 wrote: > > On 26/05/2010 22:40, robinsiebler wrote: >> This is my 1st IronPython/.NET app. It is really simple, all it does is >> zip >> all the

[IronPython] App stops responding, form won't refresh

2010-05-26 Thread robinsiebler
This is my 1st IronPython/.NET app. It is really simple, all it does is zip all the files in a folder into an archive, 1 file per zip. The problem is that when it is zipping large files 200MB+ the app stops responding. It is still zipping files, but the UI doesn't update. I don't know how to fix