473,511 Members | 10,041 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Hyperlink in wx.Grid cell?

2 New Member
I want to put a clickable hyperlink in a wx.Grid's cell. When I click on it, I'd like to call some function (e.g.

def onCellClicked(self, event):
# Do something here to launch a browser to go to the URL...


I can't seem to find how to embed a clickable hyperlink in a grid's cell. Is this even possible?
Feb 18 '12 #1
3 2745
bvdet
2,851 Recognized Expert Moderator Specialist
In Tkinter you can bind an event (such as "ButtonRelease") to a callback function using widget method bind(). You would do something similar in wxPython.
Feb 18 '12 #2
zipper114
2 New Member
Thanks bvdet, but it's not the binding of an event I'm interested in. I am hoping I can put a hyperlink in a grid cell and have it "just work". This certainly seems like something that should be doable, but I can't seem to find out how.
Feb 18 '12 #3
bvdet
2,851 Recognized Expert Moderator Specialist
Clicking on a cell is an event. Maybe you could create your own "custom" event.
Feb 18 '12 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
3504
by: mefloyd | last post by:
Hello, I'd like to outline the current cell in an MSFlexGrid control with a certain color and line thickness. I thought of putting a shape control on the form and positioning it over the cell,...
2
7096
by: Mohammed Abdel-Razzak | last post by:
dir sir I have a problem with the data gri I want to get the data in the selected cell and store it in a strin How can I do that??! thanks si Mohammed
1
1271
by: Red | last post by:
I have a grid that is bound to a dataset. The dataset is the result a query from an sql db. In the sql proc i concatenate the address. I put carraige returns where appropriate (ie Address1 CR...
0
1042
by: amcniw | last post by:
I am creating a hyperlink in a grid cell in the Infragistics InitializeRow event. When the user clicks on that cell they are sent to a new page but I also need a postback so that I can save...
1
1403
by: andrewcw | last post by:
OK - neither of these two ideas work to return the cell row/column correctly. Why ? - CurrentCell returns different numbers for the same column when I go back and forth bewteen columns. The...
0
1119
by: ariesc | last post by:
I upgraded from .NET 2002 to .NET 2003 and found one weird things on the LEAVE / ENTER events within a datagrid. I added handler to each textbox of a datagrid, then handle the ENTER/LEAVE events....
0
1325
by: AdrEsqu | last post by:
Can anybody show me how to display a bitmap impage in a datagrid cell? Code: grid.AddNewRow() GridCell cell = grid.AddNewCell(); cell.Text = ???????????????
1
4143
by: Kiran | last post by:
Hello All, I created a grid, where I register events every time the user changes an existing value inside the grid control. Right now, I am using the event: EVT_GRID_CELL_CHANGE. However, I...
2
1483
by: leosuth | last post by:
I have a DataGridView control, and I need some code to implement a function where a user left-clicks on a specific cell and a context-menu is displayed with it top-lef corner in the centre of the...
2
973
by: ssknov | last post by:
hi all I have a grid. when a the grids cell value is clicked its whole datas (other remaining fields of that record)should be displayed in textboxes. I had already populated the datagrid with...
0
7251
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7367
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7430
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
5072
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...
0
4743
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...
0
3230
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...
0
3217
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1581
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 ...
0
451
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...

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.