Hi Tim,
On 10/17/07, Tim Morton wrote:
> 1. What is the best way to tell the difference between
a mouse left-click
> and a right-click with an htmlWindow OnCellClicked
event? Do I need to have
> another event and handler to capture the mouse click
simultaneously? I can't
> find where any mouse button info is sent with the
OnCellClicked event.
>
> 2. How does one deselect text in an htmlWindow with
code?
> The issue is when I right-click and call an htmlWindow
OnCellClicked event
> the selection stays selected until the mouse is clicked
in that window
> again. If I left-click the mouse in the window the
OnLeftClick handler is
> called and acts on the previously selected text instead
of the clicked on
> text. I see where RichTextCtrl has a SelectNone member,
but I cannot find
> any for htmlWindow.
No idea about the first 2 :-D
> 3. Is it possible to have a popup menu break a long
menu into columns?
> I have a dynamically created popup menu and sometimes
the menu can be longer
> than the display height. Is there a way to have the
menu break at say every
> 20 menu items and display in columns?
I don't think the current wx.Menu can do that (but I may be
missing
something), but I suppose something could be done with
FlatMenu to
arrange items in more than 1 column. I'll think about it.
Andrea.
"Imagination Is The Only Weapon In The War Against
Reality."
http://xoomer.alic
e.it/infinity77/
------------------------------------------------------------
---------
To unsubscribe, e-mail: wxPython-users-unsubscribe lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help lists.wxwidgets.org
|