To anyone,

1. So far so good with Dabo. I've downloaded and installed Dabo and can now
run all the demos no problem including the form with an SQL link onto Ed's
site. A little bit of hassle getting everything working on XP but I managed
and I'm going to write up an account of the software I used and how to
install it as soon as possible to help any other converts. As an aside I'm
using Activestate Komodo as a development IDE as I had a copy already for
use with PHP development.

Anyhow I have a basic problem of misunderstanding here I think regarding how
you access objects in Python/Dabo.

Assuming I create a form Myform (a dabo.ui.dForm) and I thene create objects
on the form called cmdButton1, cmdButton2 etc. 

Q1. After I have created these objects I can see them as cmdButton1 and so
on- no problem. Shouldn't I also be able to see them as self.cmdButton or am
I thinking too much in a VFP way as in "Thisform.<object name>"?

Q2. If I have a form class method (for a lack of a better description)
called Tester() coded in the form class definition, how do I reference these
previous form objects by name? I only seem to be able to refer to them using
self.Children[n] (n>=0). What am I doing wrong? I can see "self" as Myform
so why can't I see them as Myform.cmdButton1 or self.cmdButton1? 

Q3. AAssuming I get an answer to Q2 if I first create a panel and then add
objects to that panel as I would a container in VFP, how would I see the
objects then as opposed to use the form self.Children[n].Children[p] in
hierarchical way.

I know this is a really really basic question (sorry!) but I can't seem to
fathom it out.

Dave Crozier

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Ed Leafe
Sent: 03 January 2007 13:07
To: Dabo Users list
Subject: Re: [dabo-users] It Must Be A Sign from on High - Hallelujah

On Jan 3, 2007, at 4:21 AM, Dave Crozier wrote:

> Well, here in the UK, my beloved Football Team Manchester City  
> (famed for
> having great potential but no consistency and having not won  
> anything since
> I were a lad) have just won 3 games on the trot and that is real  
> progress
> believe me and lo and behold they have a super young star midfield  
> player
> and his name:
>
> Ousmane Dabo

        Nice name - it has a much better ring than 'Ousmane Visual  
Studio'.  ;-)

        I had seen that name on some of the football sites I read, but  
haven't had a chance to see him play yet. They do have an EPL  
highlight show that is on at odd hours here; I should probably TiVo  
it so that I may catch a glimpse of him.

> It surely must be a sign from above that I need to now look VERY  
> closely at
> all the work that Ed, Paul and the rest of you guys are doing,

        Actually, we paid him to change his name to 'Dabo', using some of  
the millions in funding we have received.

        Wait - guess I need more caffeine - I'm still dreaming.

> so I've
> downloaded all the stuff as per the Wiki notes and I'm on my way.  
> I've even
> allocated a live project to use Dabo on here at work.
>
> So, stand by for lots of "Newbie" type questions guys!

        No problem. Be sure to ask sooner rather than later. And if it isn't

too much trouble, could you write up your experiences/impressions?  
Especially the negative stuff, since that's what we really need to  
work on!.

> Hallelujah! I Believe! <BG>

        Be careful, or we might start tithing! ;-)

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users



-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.3/614 - Release Date: 02/01/2007
14:58




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to