Hi,
I have a wx.Grid that I’m using for entry purpose
now I want to implement a comment routine like in
MS-Excel (Right click - > Insert Comment or Insert -> Comment).
Regards,
Pradeep
SE - Forum Auto Parts LLC
Hi,
I have a wx.Grid that I’m using for entry purpose
now I want to implement a comment routine like in
MS-Excel (Right click - > Insert Comment or Insert -> Comment).
Regards,
Pradeep
SE - Forum Auto Parts LLC
Pradeep Kumar wrote:
Hi,
I have a wx.Grid that I'm using for entry purpose
now I want to implement a comment routine like in
MS-Excel (Right click - > Insert Comment or Insert -> Comment).
You'll need to be more descriptive since I have no idea what that does, having not used Excel for several years.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
Hi,
May be the word “comment” confuse you its better to say “Note”.
Suppose we want to leave a note for a cell entry how we can?
for example, I want to be add comment in cell B3 as “BLUE, Rounded type”.
1 2 3 4 5 6
+------+----------------+---------------------------------+---------------+---------------+-------------+
A |Sl + Part No. + Description + Qty + Rate + Amount |
±-----±---------------±--------------------------------±--------------±--------------±------------+
B | 1 + 0402-112 + Halogen Bulb – + 100 + 2.10 + 210 |
C | 2 + 0402-123 + Connecting Rod + 100 + 2.10 + 210 |
D | 3 + 0402-122 + Camshaft + 100 + 2.10 + 210 |
±------±--------------±-------------------------------±--------------±--------------±------------+
now how we differentiate a cell have a note (comment)
in Excel way it is as follows:
Rgds,
Pradeep
SE - Forum Autoparts LLC
On 10/2/07, Robin Dunn robin@alldunn.com wrote:
Pradeep Kumar wrote:
Hi,
I have a wx.Grid that I’m using for entry purpose
now I want to implement a comment routine like in
MS-Excel (Right click - > Insert Comment or Insert → Comment).You’ll need to be more descriptive since I have no idea what that does,
having not used Excel for several years.
–
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail:
wxPython-users-help@lists.wxwidgets.org
Pradeep Kumar wrote:
Hi,
May be the word "comment" confuse you its better to say "Note".
Suppose we want to leave a note for a cell entry how we can?
for example, I want to be add comment in cell B3 as "BLUE, Rounded type".
now how we differentiate a cell have a note (comment)
in Excel way it is as follows:
1. right hand side corner contains small red image.
2. when we hold the mouse over the cell which shows the comment in tooltip
There isn't anything built-in like this, but it shouldn't be too hard to do it yourself. You need to use a custom cell renderer so you can draw the contents of the cells yourself, and include the note indicator. Then you'll also want to intercept the mouse events so you can sense when the mouse is being hovered over a cell, then you can either change the built-in tooltip's string, or show your own with wx.TipWindow, depending on how you want it to behave.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
As far as I can understand, Pradeep Kumar looks for something like this method:
def TipWindow(self, Message):
# It builds up on the fly a wx.TipWindow volante, auto-erasing
wx.TipWindow(self, Message, 100, None)
2007/10/2, Robin Dunn robin@alldunn.com:
Pradeep Kumar wrote:
Hi,
I have a wx.Grid that I’m using for entry purpose
now I want to implement a comment routine like in
MS-Excel (Right click - > Insert Comment or Insert → Comment).You’ll need to be more descriptive since I have no idea what that does,
having not used Excel for several years.–
Robin Dunn
Software Craftsman
http://wxPython.org
Java give you jitters? Relax with wxPython!
To unsubscribe, e-mail:
wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
for showing a cell note wxTooltip is OK.
But what about ADDING a cell note or EDITING a cell note
On 10/4/07, Raffaello Barella barbarossa.platz@gmail.com wrote:
As far as I can understand, Pradeep Kumar looks for something like this method:
def TipWindow(self, Message):
# It builds up on the fly a wx.TipWindow volante, auto-erasing
wx.TipWindow(self, Message, 100, None)
----------------------
cell note control --> | |
> >
----------------------
>
±--------------------+ <---------------
+
±--------------------+
^
>
>
cell
Rgds
Pradeep