Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > always fill out complete window

Reply
Thread Tools

always fill out complete window

 
 
Tom
Guest
Posts: n/a
 
      06-26-2003
Hi folks,

I have a splitter window in a GUI that I built. I added a TextCtrl
window to the right side of my splitter window. Because I don't want to
add anything else to this side of the window it would be great if the
TextCtrl window could fill out the complete side. I couldn't find the
appropriate command or configuration to resize the TextCtrl window
automatically no matter what I do with my mainframe window.

Thank you for your help.
Tom

 
Reply With Quote
 
 
 
 
Tom
Guest
Posts: n/a
 
      06-27-2003
Hi Steve,

I used Boa Constructor.
The code looks like the follwoing:
self.textCtrl1 = wxTextCtrl(id=wxID_WXFRAME1TEXTCTRL1, name='textCtrl1',
parent=self.panel2, pos=wxPoint(136, 64), size=wxSize(264,
176),
style=wxTE_MULTILINE, value=u'')

Thanks for your help.
Tom


Steve Holden wrote:

>"Tom" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
>
>
>>Hi folks,
>>
>>I have a splitter window in a GUI that I built. I added a TextCtrl
>>window to the right side of my splitter window. Because I don't want to
>>add anything else to this side of the window it would be great if the
>>TextCtrl window could fill out the complete side. I couldn't find the
>>appropriate command or configuration to resize the TextCtrl window
>>automatically no matter what I do with my mainframe window.
>>

>
>It would help if you told us which GUI you were using (Tkinter, wxPython,
>PyQT, etc.) and perhaps posted a little sample code to gice us the idea.
>
>regards
>--
>Steve Holden http://www.holdenweb.com/
>Python Web Programming http://pydish.holdenweb.com/pwp/
>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does SqlDataAdapter.Fill() always close the connection? M ASP .Net 7 02-07-2009 04:45 AM
"Build Web Site" always does a complete build John Dalberg ASP .Net 1 03-09-2007 01:51 PM
Trying to create a CSS box that is always is always the width of an image placed inside it (and no wider) Deryck HTML 4 06-22-2004 08:25 PM
how to fill some field in parent window from a child window Song Zhang Javascript 1 09-29-2003 12:58 AM
Re: always fill out complete window delphiro Python 0 06-27-2003 12:39 PM



Advertisments