473,473 Members | 1,914 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

wx.grid 2.6.1.0 events

Hello

pythoncard
wx 2.6.1
python 2.4.x
kinterbasdb
firebird

I have a wx.grid filled with data from a database
one of the fields is a blob field with text data, which
I want to display in some adjacent text control when I scroll
through the grid.

The question is which wx.EVT_XXX do I need
to use and how to 'connect ' the wx.grid to my TextArea
control ,so that the correct data gets displayed after
any row change?
Thanks for any hints.

Db

Jun 11 '07 #1
1 1543
On Jun 11, 9:04 am, DarkBlue <pict...@gmail.comwrote:
Hello

pythoncard
wx 2.6.1
python 2.4.x
kinterbasdb
firebird

I have a wx.grid filled with data from a database
one of the fields is a blob field with text data, which
I want to display in some adjacent text control when I scroll
through the grid.

The question is which wx.EVT_XXX do I need
to use and how to 'connect ' the wx.grid to my TextArea
control ,so that the correct data gets displayed after
any row change?

Thanks for any hints.

Db
Upon skimming the grid controls event types in the wxPython in Action
book, it looks like you could catch the wx.grid.EVT_GRID_SELECT_CELL
event. Then use the GetCellValue method to grab the selected cell's
contents and then write that to your TextCtrl.

If that doesn't work, please post the issue to the wxPython user's
group here: http://wxpython.org/maillist.php

Mike

Jun 11 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Tormod Ulsberg | last post by:
Hi! I am using a data grid to display an event log using the code listed below: EventLog log = new EventLog(); log.Log = "System"; log.MachineName = "."; logGrid.DataSource = log.Entries;...
1
by: Avi | last post by:
Hi Experts, I would like to display the latest 500 events from a table which contains over a million records. The speed of insertion is about 25 a second. How can I display it and refresh the...
1
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...
3
by: kaczmar2 | last post by:
Hey there, I have a large image in a browser window, and I would like a way to overlay grid lines on top of the image, so a user can show the grid or hide the grid lines. The grid would cover...
0
by: simon | last post by:
hello, relatively new to .net, i'm using vb.net and the 2.0 .net platform I'm trying to display a grid that has a text box on the left in one cell (with a hidden ID), which will be associated...
0
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
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
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
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.