473,395 Members | 1,532 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

wxPython, mac, wx.HSCROLL not working

Hi,

I'm trying to allow for a horizontal scrollbar on a textarea, but the
scrollbar won't appear when I enter a long string of text(by leaning
on one character on my keyboard):

import wx

app = wx.App()
win = wx.Frame(None, title="Text Editor", size=(150, 150) )

tb = wx.TextCtrl(win,
pos=(5, 35), size=(100, 100),
style=wx.TE_MULTILINE | wx.HSCROLL)

win.Show()
app.MainLoop()

Apr 12 '07 #1
9 2448
7stud wrote:
I'm trying to allow for a horizontal scrollbar on a textarea, but
the scrollbar won't appear when I enter a long string of text(by
leaning on one character on my keyboard):
Works for me (Linux, self-built Python 2.5 and wxPython 2.8.3.0).

Regards,
Björn

--
BOFH excuse #285:

Telecommunications is upgrading.

Apr 12 '07 #2
On Apr 12, 8:37 am, Bjoern Schliessmann <usenet-
mail-0306.20.chr0n...@spamgourmet.comwrote:
7stud wrote:
I'm trying to allow for a horizontal scrollbar on a textarea, but
the scrollbar won't appear when I enter a long string of text(by
leaning on one character on my keyboard):

Works for me (Linux, self-built Python 2.5 and wxPython 2.8.3.0).

Regards,

Björn

--
BOFH excuse #285:

Telecommunications is upgrading.
This works for me too. I'm using Python 2.4, Windows XP Pro, wxPython
2.6.

You may want to post this to the wxpython users group list. It could
be a Mac-specific bug.

Mike

Apr 12 '07 #3
On Apr 12, 9:43 am, kyoso...@gmail.com wrote:
On Apr 12, 8:37 am, Bjoern Schliessmann <usenet-

mail-0306.20.chr0n...@spamgourmet.comwrote:
7stud wrote:
I'm trying to allow for a horizontal scrollbar on a textarea, but
the scrollbar won't appear when I enter a long string of text(by
leaning on one character on my keyboard):
Works for me (Linux, self-built Python 2.5 and wxPython 2.8.3.0).
Regards,
Björn
--
BOFH excuse #285:
Telecommunications is upgrading.

This works for me too. I'm using Python 2.4, Windows XP Pro, wxPython
2.6.

You may want to post this to the wxpython users group list. It could
be a Mac-specific bug.

Mike
For the record, I'm using an intel mac, python 2.4.4, and

wxPython2.8-osx-unicode-2.8.3.0-universal10.4-py2.4.dmg

Apr 12 '07 #4
On Apr 12, 9:43 am, kyoso...@gmail.com wrote:
On Apr 12, 8:37 am, Bjoern Schliessmann <usenet-

mail-0306.20.chr0n...@spamgourmet.comwrote:
7stud wrote:
I'm trying to allow for a horizontal scrollbar on a textarea, but
the scrollbar won't appear when I enter a long string of text(by
leaning on one character on my keyboard):
Works for me (Linux, self-built Python 2.5 and wxPython 2.8.3.0).
Regards,
Björn
--
BOFH excuse #285:
Telecommunications is upgrading.

This works for me too. I'm using Python 2.4, Windows XP Pro, wxPython
2.6.

You may want to post this to the wxpython users group list. It could
be a Mac-specific bug.
Where is that list? Are you talking about the google group list
wxpython? It's inactive--there are only 5 posts in the last few
years.

Apr 12 '07 #5
7stud wrote:
Where is that list?
Argh!

http://www.wxpython.org/maillist.php

Regards,
Björn

--
BOFH excuse #330:

quantum decoherence

Apr 12 '07 #6
On Apr 12, 2:09 pm, Bjoern Schliessmann <usenet-
mail-0306.20.chr0n...@spamgourmet.comwrote:
7stud wrote:
Where is that list?

Argh!

http://www.wxpython.org/maillist.php

Regards,

Björn

--
BOFH excuse #330:

quantum decoherence
Thanks. It looks like someone asked the same question yesterday.

Apr 12 '07 #7
7stud wrote:
Thanks. It looks like someone asked the same question yesterday.
No -- it looks like I was a bit stressed and the first google hit or
a direct jump to wxpython.org would have provided the solution :)

Regards,
Björn

--
BOFH excuse #14:

sounds like a Windows problem, try calling Microsoft support

Apr 13 '07 #8
On Apr 13, 4:54 am, Bjoern Schliessmann <usenet-
mail-0306.20.chr0n...@spamgourmet.comwrote:
7stud wrote:
Thanks. It looks like someone asked the same question yesterday.

No -- it looks like I was a bit stressed and the first google hit or
a direct jump to wxpython.org would have provided the solution :)
Huh? Are you saying you found a solution?

Apr 13 '07 #9
7stud wrote:
Huh? Are you saying you found a solution?
Yes, the solution to

| Where is that list?

Regards,
Björn

--
BOFH excuse #382:

Someone was smoking in the computer room and set off the halon
systems.

Apr 14 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Grant Edwards | last post by:
Can anybody recommend a good book on wxPython? Are there any books on wxPython? I've been trying to learn wxPython and/or wax for a few weeks, and I'm just not getting it. wxWindows seems...
10
by: Mario | last post by:
Hello all, I'm trying hard to make possible to print some simple text from python to the default printer using wxPython, after days of internet searches I found this page:...
1
by: news.microsoft.com | last post by:
Hi, When I process a HScroll scroll event I get one event fired for a increase value using the > button. When I make a User control with a HScroll on it and catch the message and forward my...
1
by: Gates72 | last post by:
Hi Gurus, I am attempting to derive a User Control from the ScrollableControl class. I need to have control over which scrollbars get displayed. According to MSDN: "To manually override...
0
by: Bob | last post by:
I implemented a ScrollableControl and only want vertical scrolling. Every time I make the form smaller then the control the control has h scroll bars even though I set it to false. I have the...
1
by: PeterG | last post by:
Hi, I am relatively new to Python, and am learning it as part of a university module... Im currently undertaking a project to create an IM server and IM gui client. I have a very basic...
3
by: j0rd4n | last post by:
I have a user control that needs to allow vertical scrolling but not horizontal scrolling. In the user control's resize event, I need to adjust the size of all the children controls. For this to...
3
by: Alejandro | last post by:
Hi: I want to redirect stdout to a textctrl I have. From what I read in the wxpython documentation, I can use the wxLogTextCtrl class to do this. I am doing the following: class...
8
by: Sean DiZazzo | last post by:
Is there something special you have to do to get a wxPython app to run remotely under xwindows? My Tkinter apps always automatically work that way, so I was surprised to even be confronted with...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.