Nathan smith wrote:
> So here's what I'm trying to do:
> I'm trying to create a window that pops up, processes basic html, and
> behaves like an HTML window.
> Think wx.textctrl, but multiline and with HTML processing capabilities.
Are you thinking of a wx.stc.StyledTextCtrl?
> Now here's my problem.
> I wrote what I thought was a working html window, and it might be I'm
> not sure.
> I tried to access it with my screen reader and... It reads nothing.
On what did you base your code? Was it a plain TextCtrl? I admit that
I know little about screen readers, but in order to be read, there has
to be a way for the reader to fetch the contents of your control from code.
> So then I had a look around the web and found the example program at
> the end of this email.
> When it loads, my screen reader reads out all the text at once, and
> then refuses to allow me to view it otherwise.
> For clarification: I am using arrow keys to move about the window, to
> very little success.
Right. HTML windows are read-only. They are, essentially, web
browsers. They don't accept keyboard focus, so you can't navigate with
And by the way, that sample code shows terrible programming style. The
frame and the panel are tightly integrated, so that each one pokes
around in the other's insides. Don't use this as an example of good