473,659 Members | 2,922 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_MUL TILINE | wx.HSCROLL)

win.Show()
app.MainLoop()

Apr 12 '07 #1
9 2454
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:

Telecommunicati ons is upgrading.

Apr 12 '07 #2
On Apr 12, 8:37 am, Bjoern Schliessmann <usenet-
mail-0306.20.chr0n.. .@spamgourmet.c omwrote:
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:

Telecommunicati ons 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.c omwrote:
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:
Telecommunicati ons 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.c omwrote:
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:
Telecommunicati ons 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.c omwrote:
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.c omwrote:
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
2899
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 to be more low-level than the other GUI toolkits I've used (Tk, GTK, and Trestle), and there are all sorts exposed details in wxWindows/wxPython that I find weird.
10
4962
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: http://wiki.wxpython.org/index.cgi/Printing but is impossible to use this script even if I do exactly as said there. I think the script is buggy or I am not able to use it, even if seems very simple to use... Anyone can give me an hint on how to easily and simply print...
1
1364
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 own, I get two events fired yet I send one. I get a SmallIncrement and then a EndScroll e.Type. Why the difference in events, its confusing.
1
4341
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 which scroll bars are visible, set the VScroll and HScroll properties. If either property is set to false, the corresponding scroll bar will not be
0
1388
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 control anchored to all four corners. I watched the resize event and for some reason even if i keep setting hscroll to false it gets set back to true. Thanks! FromMSDN. To manually override which scroll bars are visible, set the VScroll and...
1
2791
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 server, and a basic gui client. I can get my
3
5955
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 work correctly, I need the AutoScroll to not enable the horizontal scrollbar. After researching MSDN, I found the HScroll which can be used to disable horizontal scrolling when the AutoScroll mode is enabled. However, when I disable HScroll,...
3
6138
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 MyGui(gui.MyFrame): #gui.MyFrame generated by wxGlade def __init__(self, *args, **kwds): gui.MyFrame.__init__(self, *args, **kwds) # ... code removed ...
8
2644
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 this problem. ~Sean
0
8335
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8627
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7356
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6179
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4175
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4335
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2752
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1737
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.