main logo
Subject: Re: [dabo-users] dabo equivalent of this simple wxPython code?
Author: wccppp
Posted: 2007/01/31 16:55:25
 
View Entire Thread
New Search


On 1/31/07, Ed Leafe <ed (AT) leafe DOT com> wrote:
>
> On Jan 31, 2007, at 12:53 PM, wccppp wrote:
>
> > One more question, how do I set a title to the frame?
>
> Every control that has an associated piece of identifying text has
> a
> 'Caption' property. This is done to make Dabo much more consistent
> than the way that wxPython does things, which could involve a call to
> SetTitle(), SetCaption(), or SetText(). So for a frame ('form' in
> Dabo-speak), you could do it one of two ways: in the constructor
> call, or with an object reference. These two do the same thing:
>
> frm = dabo.ui.dForm(None, Caption="Foo")
>
> - or, given a 'frm' reference:
>
> frm.Caption = "Foo"


Thanks Ed. My question is specific to the code i posted. In this case, I do
not know how to get the Form object from the ListBoxDialog object.


>


--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---


 
©2007 wccppp
<-- Prior Message New Search Next Message -->