Get coordinates of a cell

T

Teja

I have a GUI application with a Frame and a grid in it. I want to popup
a menu after the user enters some text in a cell and hits ENTER key. I
was able to popup the menu. However the menu is not popping up exactly
at the position where I want it. It should be popped up immediately
after the cell in which the user has entered the text. To get the co
ordinates I am using the function event.GetPosition(). Here event is
wx.EVT_KEY_DOWN. Any pointers please?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top