[dabo-users] Demo

2010-10-13 Thread Fraser Burns
Just installed: Platform: GTK Python Version: 2.6.5 on linux2 Dabo version: 0.9.3; Revision 6102 UI Version: 2.8.10.1 on wxGTK (gtk2) Run Dabo Demo. Click on Dabo Overview>Controls>dBitmapButton I can see 3 cards showing Ace of Spades. If I hover the mouse, the box surrounding the card changes sha

Re: [dabo-users] dDropdownList problem

2010-10-13 Thread John Fabiani
On Wednesday, October 13, 2010 07:01:13 pm John Fabiani wrote: > Choices = Names, Keys = keys) should be Choices = names, Keys = keys Johnf ___ Post Messages to: Dabo-users@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Re: [dabo-users] dDropdownList problem

2010-10-13 Thread John Fabiani
On Wednesday, October 13, 2010 06:53:16 pm Carey Gagnon wrote: > I've got an appwizard app where I want to turn one of the PagEdit form > fields to a dropdownlist. > I've followed the little tutorial here: > http://wiki.dabodev.com/HowToPopulateAndUseListControls > and here: > http://leafe.com/arch

[dabo-users] dDropdownList problem

2010-10-13 Thread Carey Gagnon
I've got an appwizard app where I want to turn one of the PagEdit form fields to a dropdownlist. I've followed the little tutorial here: http://wiki.dabodev.com/HowToPopulateAndUseListControls and here: http://leafe.com/archives/msg/342481 so that my Records.py biz object file contains this:

Re: [dabo-users] dPage & lostFocus?

2010-10-13 Thread Ed Leafe
On Oct 13, 2010, at 4:08 PM, Jim Byrnes wrote: > On a maybe related note, in the ClassDesigner Object Info tree view, the > dPage control seems to be the only one that does not show Edit Code in > the popup menu when you right click on it. If you go to the Code Editor > manually dPage is in the

Re: [dabo-users] dPage & lostFocus?

2010-10-13 Thread Ed Leafe
On Oct 13, 2010, at 4:08 PM, Jim Byrnes wrote: > On a maybe related note, in the ClassDesigner Object Info tree view, the > dPage control seems to be the only one that does not show Edit Code in > the popup menu when you right click on it. If you go to the Code Editor > manually dPage is in the

Re: [dabo-users] dPage & lostFocus?

2010-10-13 Thread Jim Byrnes
Paul McNett wrote: > On 10/13/10 1:08 PM, Jim Byrnes wrote: >> Switching between tabs/pages on the same pageframe doesn't seem to fire >> an onLostFocus event, should it? If I click outside the pageframe the >> page will fire the event at that time. > > LostFocus fires when a control that can rece

Re: [dabo-users] dPage & lostFocus?

2010-10-13 Thread Jim Byrnes
John Fabiani wrote: > On Wednesday, October 13, 2010 01:08:57 pm Jim Byrnes wrote: >> Switching between tabs/pages on the same pageframe doesn't seem to fire >> an onLostFocus event, should it? If I click outside the pageframe the >> page will fire the event at that time. >> >> On a maybe related

Re: [dabo-users] dPage & lostFocus?

2010-10-13 Thread Paul McNett
On 10/13/10 1:08 PM, Jim Byrnes wrote: > Switching between tabs/pages on the same pageframe doesn't seem to fire > an onLostFocus event, should it? If I click outside the pageframe the > page will fire the event at that time. LostFocus fires when a control that can receive focus loses focus. So I

Re: [dabo-users] dPage & lostFocus?

2010-10-13 Thread John Fabiani
On Wednesday, October 13, 2010 01:08:57 pm Jim Byrnes wrote: > Switching between tabs/pages on the same pageframe doesn't seem to fire > an onLostFocus event, should it? If I click outside the pageframe the > page will fire the event at that time. > > On a maybe related note, in the ClassDesigner

[dabo-users] dPage & lostFocus?

2010-10-13 Thread Jim Byrnes
Switching between tabs/pages on the same pageframe doesn't seem to fire an onLostFocus event, should it? If I click outside the pageframe the page will fire the event at that time. On a maybe related note, in the ClassDesigner Object Info tree view, the dPage control seems to be the only one t

Re: [dabo-users] custom events

2010-10-13 Thread Henning Hraban Ramm
Am 2010-10-13 um 18:41 schrieb Paul McNett: >> - how can non-GUI objects work with events? (possibly without >> inheriting dObject) > > You'd need to inherit dabo.lib.eventMixin.EventMixin. It is a pretty > simple > implementation. Yes, I thought so, and that was what I tried first - but EventMi

Re: [dabo-users] More py2exe trouble

2010-10-13 Thread Carey Gagnon
Maybe this page helps: > http://wiki.wxpython.org/py2exe-python26 > > Note that the manifest included in setup.py is a bit different and there > is a commented section on the MS stuff, i.e. sometimes I found that > putting it all into sub-folders of the dist folder makes it work and if > one uses

Re: [dabo-users] More py2exe trouble

2010-10-13 Thread Werner F. Bruhin
On 13/10/2010 19:31, Carey Gagnon wrote: >> I was never able to get the above method to work, and found that merely >> copying it >> the way I was doing worked. I don't send the Microsoft.VC90.CRT.manifest. >> >> Paul >> > > Well I'll try a few different compilations as see what happens. > Some o

Re: [dabo-users] More py2exe trouble

2010-10-13 Thread Paul McNett
On 10/13/10 10:31 AM, Carey Gagnon wrote: >> I was never able to get the above method to work, and found that merely >> copying it >> the way I was doing worked. I don't send the Microsoft.VC90.CRT.manifest. >> >> Paul >> > > > Well I'll try a few different compilations as see what happens. > Some

Re: [dabo-users] More py2exe trouble

2010-10-13 Thread Carey Gagnon
> I was never able to get the above method to work, and found that merely > copying it > the way I was doing worked. I don't send the Microsoft.VC90.CRT.manifest. > > Paul > Well I'll try a few different compilations as see what happens. Some of the forums regarding this issue also mention that i

Re: [dabo-users] More py2exe trouble

2010-10-13 Thread Paul McNett
On 10/13/10 9:56 AM, Carey Gagnon wrote: >> >> Ooh, doing a google on that error messages yields some hints, like: >> >> http://forum.opensubtitles.org/viewtopic.php?t=881 >> >> In your case though, you want to make sure you are including msvcr90.dll, >> not >> msvcr71.dll. >> >> Paul >> > > You ty

Re: [dabo-users] More py2exe trouble

2010-10-13 Thread Carey Gagnon
> > Ooh, doing a google on that error messages yields some hints, like: > > http://forum.opensubtitles.org/viewtopic.php?t=881 > > In your case though, you want to make sure you are including msvcr90.dll, > not > msvcr71.dll. > > Paul > You type to fast Paul..I've aborted replies to both other mes

Re: [dabo-users] dPageFrame?

2010-10-13 Thread Jim Byrnes
Ed Leafe wrote: > On Oct 12, 2010, at 11:15 PM, Jim Byrnes wrote: > >> I had tried that and it didn't seem to produce anything I could >> test on. >> >> print dabo.ui.dPageFrame.SelectedPageNumber produced:> object at 0x3d09af8> > > You must have a reference to the page frame in question. Let's say

Re: [dabo-users] More py2exe trouble

2010-10-13 Thread Paul McNett
On 10/13/10 6:46 AM, Carey Gagnon wrote: > ImportError: MemoryLoadLibrary failed loading wx\_core_.pyd Ooh, doing a google on that error messages yields some hints, like: http://forum.opensubtitles.org/viewtopic.php?t=881 In your case though, you want to make sure you are including msvcr90.dll,

Re: [dabo-users] More py2exe trouble

2010-10-13 Thread Paul McNett
On 10/13/10 6:46 AM, Carey Gagnon wrote: > Being a python noob it seems to me the main failure is the import error for > wx\_core_.pyd, which to me would mean that py2exe isn't including this at > compile time and the reason it works on the 2 machines is because python is > installed on them. > >

Re: [dabo-users] More py2exe trouble

2010-10-13 Thread Paul McNett
On 10/13/10 9:38 AM, Carey Gagnon wrote: >> >> You need to copy the entire contents of the dist/ directory to each >> machine, not >> merely the .exe. > I do copy the whole dist directory to which ever machine I'm running it on. > I might be a noob but not that much of a noob. Sorry, you said som

Re: [dabo-users] custom events

2010-10-13 Thread Paul McNett
On 10/13/10 9:10 AM, Henning Hraban Ramm wrote: > Am 2010-10-13 um 16:40 schrieb John Fabiani: >> >> how about putting in on the wiki > > Here you are: http://wiki.dabodev.com/Events > > One could write a lot more, but I don't know too much ;-) > E.g. > - is there a connection between dabo and wx e

Re: [dabo-users] More py2exe trouble

2010-10-13 Thread Carey Gagnon
> > You need to copy the entire contents of the dist/ directory to each > machine, not > merely the .exe. > > Paul > I do copy the whole dist directory to which ever machine I'm running it on. I might be a noob but not that much of a noob. Carey --- StripMime Report -- processed MIME parts ---

Re: [dabo-users] More py2exe trouble

2010-10-13 Thread Paul McNett
On 10/13/10 6:46 AM, Carey Gagnon wrote: > I've compiled my AppWizard app successfully. I've tried it on 2 machines and > it worked with no trouble. Tried it on a third machine today and it failed. > > Machine 1 at home: This is the machine the app was compiled on > Windows XP Pro SP3 > Python 2.6.

Re: [dabo-users] custom events

2010-10-13 Thread Henning Hraban Ramm
Am 2010-10-13 um 16:40 schrieb John Fabiani: > > how about putting in on the wiki Here you are: http://wiki.dabodev.com/Events One could write a lot more, but I don't know too much ;-) E.g. - is there a connection between dabo and wx events? - are dabo events usable for async programming? - how c

Re: [dabo-users] custom events

2010-10-13 Thread John Fabiani
On Wednesday, October 13, 2010 06:30:45 am Paul McNett wrote: > On 10/13/10 2:52 AM, Henning Hraban Ramm wrote: > > Here's a minimal example: > > http://dabo.codepad.org/2uDYsOis > > > > - a custom event > > - two panels > > - first Panel sends custom event > > - second Panel can't receive it > >

Re: [dabo-users] custom events

2010-10-13 Thread Henning Hraban Ramm
Am 2010-10-13 um 15:30 schrieb Paul McNett: > On 10/13/10 2:52 AM, Henning Hraban Ramm wrote: >> Here's a minimal example: >> http://dabo.codepad.org/2uDYsOis >> >> - a custom event >> - two panels >> - first Panel sends custom event >> - second Panel can't receive it >> >> What's wrong? > > The e

[dabo-users] More py2exe trouble

2010-10-13 Thread Carey Gagnon
I've compiled my AppWizard app successfully. I've tried it on 2 machines and it worked with no trouble. Tried it on a third machine today and it failed. Machine 1 at home: This is the machine the app was compiled on Windows XP Pro SP3 Python 2.6.5 wxPython 2.8.11.0 dabo installed in c:\src\dabo wi

Re: [dabo-users] custom events

2010-10-13 Thread Paul McNett
On 10/13/10 2:52 AM, Henning Hraban Ramm wrote: > Here's a minimal example: > http://dabo.codepad.org/2uDYsOis > > - a custom event > - two panels > - first Panel sends custom event > - second Panel can't receive it > > What's wrong? The event gets raised but doesn't propagate up (by design), so t

Re: [dabo-users] custom events

2010-10-13 Thread Henning Hraban Ramm
Here's a minimal example: http://dabo.codepad.org/2uDYsOis - a custom event - two panels - first Panel sends custom event - second Panel can't receive it What's wrong? Greetlings from Lake Constance! Hraban --- http://www.fiee.net https://www.cacert.org (I'm an assurer) ___