On Jun 19, 2007, at 7:59 AM, Simen Haugen wrote:

> How can I set MultiLine for a dTextBox?
>
> I'm passing wx.TE_MULTILINE as style in the constructor, but a  
> MultiLine
> property would be a lot better.

        wxPython is odd in that it uses a single control for simple text  
entry as well as multi-line text display and editing. We chose not to  
follow their example, and instead use two different base classes:  
dTextBox and dEditBox. The latter is the wx.TextCtrl with  
wx.TE_MULTILINE set to True.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.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]

Reply via email to