On Wednesday 28 April 2010 09:53:37 am Paul McNett wrote:
> On 4/26/10 3:55 PM, Jeff Johnson wrote:
> > Guys:  I am following the tutorial and I do the Developing with Dabo
> > creating a simple application.
> >
> > When the demo form is up and I open the command window I type:
> >
> >     dabo.ui.dButton(self, Caption="Click Me")
> >
> > no button appears in Windows.  I do see
> > "<dButton (baseclass dabo.ui.dButton, id:-224)>" in the lower section of
> > the command window.
> >
> > The same thing works perfectly under Ubuntu 9.10 and the button appears.
>
> What about typing one of:
>
> self.refresh()
> self.layout()
>
> Paul

First IMO you should not add a button or other objects without providing a 
sizer or setting the fixed position of the object.  Therefore, you need to 
add the object correctly using the sizer or fixed position.

I made a ref to this difference between windows and LInux yesterday on the 
list.  I have made programming errors where I forgot to add an object to a 
sizer and tested on Linux and of course it just worked (exactly like what has 
reported).  But of course running under windows I soon discover the error.

Johnf





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to