Re: [dabo-users] Parent and child grid from the same table

2008-10-02 Thread Uwe Grauer
Ed Leafe wrote: > On Oct 1, 2008, at 7:34 PM, Richard Esplin wrote: > >> 1. No matter how I quote 'id' or "id" the interpreter sees it as the >> built-in >> python function: >> >> dabo.dException.FieldNotFoundException: Field '> id>' does >> not exist in the data set >> >> 2. The ClassDesigner s

Re: [dabo-users] Opening a database from the Dabo Class Designer

2008-10-02 Thread Chris G
On Wed, Oct 01, 2008 at 04:01:59PM -0500, Ed Leafe wrote: > On Oct 1, 2008, at 3:56 PM, Chris G wrote: > > > Now I need to connect to a database and I'm a bit stuck. In Linux do > > I need to create a cnxml file myself? That's not too bad, I've copied > > the sample.cnxml file and have put my ow

Re: [dabo-users] Opening a database from the Dabo Class Designer

2008-10-02 Thread Ed Leafe
On Oct 2, 2008, at 3:29 AM, Chris G wrote: > Ah, that's a bit easier! :-) I thought that it might be. > However I can't seem to get a connection to my database. I've created > the database called isbd in mysql as user 'chris' (who has admin > rights in mysql). I've entered the host, d

Re: [dabo-users] Opening a database from the Dabo Class Designer

2008-10-02 Thread Chris G
On Thu, Oct 02, 2008 at 07:33:41AM -0500, Ed Leafe wrote: > On Oct 2, 2008, at 3:29 AM, Chris G wrote: > > > Ah, that's a bit easier! :-) > > I thought that it might be. > > > However I can't seem to get a connection to my database. I've created > > the database called isbd in mysql as u

[dabo-users] dApp.DatabaseActivityLog and non-ASCII database content

2008-10-02 Thread Sibylle Koczian
Hello, this doesn't really look well: Dabo application using SQLite database. Main program: if __name__ == "__main__": app = dabo.dApp() app.MainFormClass = FrmTest app.setup() app.DatabaseActivityLog = sys.stdout app.start() Editing an existing record by

[dabo-users] is there a dPageFrame.active()

2008-10-02 Thread johnf
Is there a method available that will fire when a tab is selected? Sort like VFP activate -- John Fabiani ___ Post Messages to: Dabo-users@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://le

Re: [dabo-users] is there a dPageFrame.active()

2008-10-02 Thread Paul McNett
johnf wrote: > Is there a method available that will fire when a tab is selected? Sort like > VFP activate dPageFrame has 2 interesting events: PageChanging and PageChanged. http://paul.dabodev.com/doc/api/dabodoc/dabo.ui.uiwx.dPageFrame.dPageFrame.html#Events_PageChanged dPage has PageEnter a

Re: [dabo-users] is there a dPageFrame.active()

2008-10-02 Thread johnf
On Thursday 02 October 2008 10:06:49 am Paul McNett wrote: > dPage has PageEnter and PageLeave: Of course. thanks I kept looking at the frame and not the page. -- John Fabiani ___ Post Messages to: Dabo-users@leafe.com Subscription Maintenance: http

Re: [dabo-users] Parent and child grid from the same table

2008-10-02 Thread Richard Esplin
That makes sense. Thank you for the explanation. I like your approach to building frameworks. Dabo seems very clean. Is your SVN tree usually pretty stable, or should I be wary about using it in production? Thanks for the fix, Richard On Wednesday 01 October 2008 21:26:20 Ed Leafe <[EMAIL PRO

Re: [dabo-users] Parent and child grid from the same table

2008-10-02 Thread Ed Leafe
On Oct 2, 2008, at 12:35 PM, Richard Esplin wrote: > Is your SVN tree usually pretty stable, or should I be wary about > using it in > production? Generally, yes, it's fairly stable, although we have had a few commits that broke things. Those are usually cleaned up pretty quickly,

Re: [dabo-users] treeFromStructure()

2008-10-02 Thread Mike Mabey
Sweet. Thanks you guys. Mike M. On Tue, Sep 30, 2008 at 7:32 PM, Ed Leafe <[EMAIL PROTECTED]> wrote: > On Sep 30, 2008, at 5:45 PM, Mike Mabey wrote: > > > File "C:\src\dabo\ui\uiwx\dPemMixin.py", line 86, in __init__ > >self._initProperties() > > File "C:\src\dabo\dObject.py", line 177,

Re: [dabo-users] dApp.DatabaseActivityLog and non-ASCII database content

2008-10-02 Thread Henning Hraban Ramm
Am 2008-10-02 um 18:21 schrieb Sibylle Koczian: > Without the line "app.DatabaseActivityLog = sys.stdout" the > application works > as expected, field content with non-ASCII characters is saved > normally. > > On the one hand I should have thought of this, > because "sys.stdout.write(u'äöü')" r

Re: [dabo-users] Parent and child grid from the same table

2008-10-02 Thread Richard Esplin
I just wanted to follow up and let the list know that everything is working great. I downloaded the latest SVN, and my app works well. Thank you for all the help that was provided. Richard On Thursday 02 October 2008 11:47:24 Ed Leafe <[EMAIL PROTECTED]> wrote: > On Oct 2, 2008, at 12:35 PM, R

[dabo-users] Resizable proportion

2008-10-02 Thread Richard Esplin
Okay, I'm going to swallow my pride and ask for help again. This time is worse because I'm pretty sure it's a newbie question. I think I'm struggling to find the answer because I don't know the terminology yet (it's like trying to look up the spelling of a word in the dictionary). In my little

Re: [dabo-users] Resizable proportion

2008-10-02 Thread Ed Leafe
On Oct 2, 2008, at 8:27 PM, Richard Esplin wrote: > In my little application, I have a vertical sizer with a gridlist on > the left > and a grid sizer on the right. I want the user to be able to grab > the border > between the two slots, and resize by dragging left or right. This > would > d

Re: [dabo-users] Resizable proportion

2008-10-02 Thread Ed Leafe
On Oct 2, 2008, at 8:31 PM, Ed Leafe wrote: > That's not a sizer; that's a splitter. Look under the 'Display > Controls' on the context menu for adding controls. Hmmm... I just ran this, and got an error when I tried to close a form with a splitter on it. I'll look into this, but

Re: [dabo-users] Resizable proportion

2008-10-02 Thread Ed Leafe
On Oct 2, 2008, at 8:35 PM, Ed Leafe wrote: > Hmmm... I just ran this, and got an error when I tried to close a > form with a splitter on it. I'll look into this, but I wanted to give > you a heads-up in case you saw the same error. Just posted a fix - a rather simple matter. -- E

Re: [dabo-users] Resizable proportion

2008-10-02 Thread Richard Esplin
Splitter. Got it. Thank you. It works great once I updated from SVN (I saw the same problem closing). Thank you again. Richard Esplin On Thursday 02 October 2008 19:31:37 Ed Leafe <[EMAIL PROTECTED]> wrote: > On Oct 2, 2008, at 8:27 PM, Richard Esplin wrote: > > In my little application, I have

[dabo-users] AttributeError: 'controlMix' object has no attribute 'ControllingSizer'

2008-10-02 Thread Richard Esplin
I've been having a problem since I updated from SVN this evening. Once I load my form into ClassDesigner and make a change, I can no longer run my application, save my form, or close cleanly the ClassDesigner. I can duplicate the problem with a clean form as soon as I add a DataGrid to the hori