473,325 Members | 2,860 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,325 software developers and data experts.

No intellisense for DataGrid.HitTestType?

The code seems to be working fine, but it is slightly frustrating to have no intellisense for DataGrid.

I have DataGrid dataGrid1 on my test form. In the MouseDown event for dataGrid1, I typed the following code:

DataGrid.HitTestInfo dgHitTest = dataGrid1.HitTest(e.X, e.Y);

Intellisense works for dataGrid1.HitTest, but not for DataGrid.HitTestInfo. Even slightly more annoying is I also have no intellisense for my dgHitTest object. For example (in dataGrid1_MouseDown event):

if (dgHitTest.Type == DataGrid.HitTestType.ColumnHeader)

There is absolutely no intellisense happening on the previous line. Any help would be greatly appreciated.

- carl
Nov 16 '05 #1
2 1260
Clear the obj path in your project and compile it again

"Vagabond Software" <carlfenley-X-@-X-san.rr.com> schrieb im Newsbeitrag
news:u8**************@TK2MSFTNGP15.phx.gbl...
The code seems to be working fine, but it is slightly frustrating to have no
intellisense for DataGrid.

I have DataGrid dataGrid1 on my test form. In the MouseDown event for
dataGrid1, I typed the following code:

DataGrid.HitTestInfo dgHitTest = dataGrid1.HitTest(e.X, e.Y);

Intellisense works for dataGrid1.HitTest, but not for DataGrid.HitTestInfo.
Even slightly more annoying is I also have no intellisense for my dgHitTest
object. For example (in dataGrid1_MouseDown event):

if (dgHitTest.Type == DataGrid.HitTestType.ColumnHeader)

There is absolutely no intellisense happening on the previous line. Any
help would be greatly appreciated.

- carl
Nov 16 '05 #2
Any possible cause and explanation Mr. See, I encountered this also
yesterday. I believe I just reopened the solution and it worked.

"Zürcher See" <aq****@cannabismail.com> wrote in message
news:ue**************@TK2MSFTNGP12.phx.gbl...
Clear the obj path in your project and compile it again

Nov 16 '05 #3

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

Similar topics

4
by: Terry | last post by:
Hey, Having somewhat of an issue, I have a datagrid which is giving me issues. The Datagrid is setup for the user to double click the row, the row is selected and data within that row populates a...
6
by: Strahimir Antoljak | last post by:
Is it possible (and how?) to get the data grid column name based on the DataGrid.CurrentCell? The DataGrid has assigned a TableStyle comprising selected columns (DataGridTextBoxColumn) from the...
1
by: Doug Bell | last post by:
Hi, Can you lock the colum in a datagrid so that it can not be resized by th user? Thanks Doug
13
by: pmcguire | last post by:
I have a DataGrid control for which I have also created several new extended DataGridColumnStyles. They behave pretty nicely, but I can't figure out how to implement Selected Item formatting for...
1
by: Geroge D. Lake | last post by:
Hi, I need to disable the resizing of a datagrid. I have tried al day and no luck. Any Ideas? Thanks. George.
2
by: Lars Netzel | last post by:
Hi What events are there to do things in when I am on a row in a datagrid (bound from a dataset) and press Delete key... There's no Delete Event on the drig and I can't figure out if there are...
2
by: Nathan | last post by:
I've written a procedure to select a certain row in a datagrid. After finding the row, I use DataGrid.Select(RowNumber) to select the row. However, I need the datagrid to scroll so that the newly...
2
by: John Huang | last post by:
I would like to use datagrid's keydown event to capture the "Ctrl+D" when users press this key. But it did not work. What did I miss? (I have already set the form keypreview to true) Private...
2
by: Nina | last post by:
Hi there, I've tried everything that I know to prevent usre resizing datagrid columns, but nothing works. Following are the code that I used. Please tell me what's wrong with them. Thank you....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
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...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.