JohnF-4 wrote:
>
> Sounds fine. But I have a little twist. Instead of me just building the
> form
> let's keep a running dialog via this email list of the steps to get it
> done.
> That way others can help and put their .02 in too . And at the end I'll
> gather the messages and put them on the wiki. You are expected to ask
> questions and make suggestions. Let's get started.
>
Sounds good. I can see my untimeliness was taken up by others... :-)
JohnF-4 wrote:
>
> Ok lets add a little more to display a panel
>
> immediately after
> self.Sizer =vs= dabo.ui.dSizer("vertical")
>
> add
> vs.append(dabo.ui.dPanel(self,BackColor = "green))
>
> Run again.
>
> This should give you a little green box in the upper left hand corner.
>
> Ok now let's expand the panel to fill the form in several steps by adding
> paramenters to the vs.append method. Just add a ',1'.
> .
> vs.append(dabo.ui.dPanel(self,BackColor = "green),1)
>
> Run it again - what happened?.
>
> Now add one more parameter so it reads
> vs.append(dabo.ui.dPanel(self,BackColor = "green),1,'x')
>
> At this point I will stop and ask you to tell me (and others on the list)
> what is happening. Your clue is we are adding a container/control/object
> to
> a sizer using the the append method (function).
>
Ok... got most of that. Looks like we should ideally start with a Form, add
a Sizer and then a Panel on top of that. I am assuming the '1' and the 'x'
are proportion and then layout although there is no mention of 'x' in the
dabo api docs but I am assuming it must be the shortcut for 'expand'.
Is the layout() method needed? It seems to still run the form even if I
comment it out.
Are all container/control/objects added using sizer.append()?
Brian
--
View this message in context:
http://www.nabble.com/Standalone-dabo-games-not-running-tf4896702.html#a14133849
Sent from the dabo-users mailing list archive at Nabble.com.
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]