473,320 Members | 1,854 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

How to know in that moment a tablestyles joins to my inherited DataGrid?

Hi

I need to know in that moment a tablestyles joins to my inherited DataGrid
control

Tnks
Nov 21 '05 #1
2 922
From: "Chris, Master of All Things Insignificant" <chris@No_Spam_Please.com>
Subject: Re: sorting multiple arrays
Date: Friday, February 18, 2005 10:09 AM

AFIAK, Use these two items to get the event that fires when a table is
added/removed

AddHandler DataGrid1.TableStyles.CollectionChanged, AddressOf
TableStyles_CollectionChanged

Public Sub TableStyles_CollectionChanged(ByVal sender As Object, ByVal e As
System.ComponentModel.CollectionChangeEventArgs)

End Sub

Chris

"Carlos Durán Urenda" <ca***********@hotmail.com> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
Hi

I need to know in that moment a tablestyles joins to my inherited DataGrid
control

Tnks

Nov 21 '05 #2
Tnks Chris
It Works Fine

CD

"Chris, Master of All Things Insignificant" <chris@No_Spam_Please.com>
escribió en el mensaje news:u6**************@TK2MSFTNGP12.phx.gbl...
From: "Chris, Master of All Things Insignificant"
<chris@No_Spam_Please.com>
Subject: Re: sorting multiple arrays
Date: Friday, February 18, 2005 10:09 AM

AFIAK, Use these two items to get the event that fires when a table is
added/removed

AddHandler DataGrid1.TableStyles.CollectionChanged, AddressOf
TableStyles_CollectionChanged

Public Sub TableStyles_CollectionChanged(ByVal sender As Object, ByVal e
As System.ComponentModel.CollectionChangeEventArgs)

End Sub

Chris

"Carlos Durán Urenda" <ca***********@hotmail.com> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
Hi

I need to know in that moment a tablestyles joins to my inherited
DataGrid control

Tnks


Nov 21 '05 #3

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

Similar topics

0
by: Mike | last post by:
Can this be done? I have a memo field that I want to be edited in a datagrid on a win form. I want to be able to show three lines at a time and use returns. Here is what I've tried. ...
1
by: nevin | last post by:
Hiya, I have a table which without any tablestyles and associated columns displays all the columns of the table as you would expect. If I add a tablestyle and one column which I then add the...
2
by: Ralf | last post by:
Hi NG, if there a way to Clear a DataGrid dataGrid1.TableStyles.Clear(); or dataGrid1.TableStyles.Remove(tblStyle); or dataGrid1.TableStyles.RemoveAt(intDG); or not work!? ...
0
by: James | last post by:
Hi, I am using tablestyles to format my datagrid (windows forms) and wish to create a custom gridcolumstyle where i get the actual displayed value (or mappingname equivalent? (TextBox.Text)) is...
1
by: Sebastian Becker | last post by:
Hi, I'm new to VB.net and I can't figure out how to format a Datagrid with those TableStyles... I have a simple 5 coloumn(TextOnly) Datagrid and I want these coloumns to be just as wide as the...
4
by: johnb41 | last post by:
I'm attempting to display a datagrid with an EXTRA column: a checkbox column. I successfully added it by creating a DataGridBoolColumn: Dim ts1 As New DataGridTableStyle ts1.MappingName =...
6
by: henk | last post by:
Hi, I have a vb.net application where I need multiple "Lookup windows". I could make 10 lookup window with each there own datagrid and table style, but I want to do it Nice. I was thinking about...
1
by: Brett Romero | last post by:
If I have a customDataGrid (.NET 1.1) with several tablestyles loaded, how can I tell when the user switches between tablestyles? I want to do this from inside the datagrid. I have tried this...
2
by: harini | last post by:
hi, i have a radio button. On clicking the radio button i have to clear the already existing tablestyle of my datagrid and bind a new table to the grid with a new tablestyle. i used, ...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.