473,387 Members | 1,669 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,387 software developers and data experts.

Doubleclicking on ListView to open form causes problem

Hi

If I double-click my listview to open a non-modal form the form displays,
but when I click on it the form with the listview on it pops over the top of
it.

If I do the same thing via a contextmenu it works fine, it's just the
double-click that seems to have strange behaviour.

Any ideas?

Thanks
Nov 16 '05 #1
2 1562
Hi,

Post the code for the handler of the double click

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Mantorok" <no**@tiscali.co.uk> wrote in message
news:cl**********@newsfeed.th.ifl.net...
Hi

If I double-click my listview to open a non-modal form the form displays,
but when I click on it the form with the listview on it pops over the top of it.

If I do the same thing via a contextmenu it works fine, it's just the
double-click that seems to have strange behaviour.

Any ideas?

Thanks

Nov 16 '05 #2
Hi

The handler just calls another method in the class, then that goes off and
does tons of other bits (it's a framework).

Kev

"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote
in message news:ub**************@tk2msftngp13.phx.gbl...
Hi,

Post the code for the handler of the double click

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Mantorok" <no**@tiscali.co.uk> wrote in message
news:cl**********@newsfeed.th.ifl.net...
Hi

If I double-click my listview to open a non-modal form the form displays, but when I click on it the form with the listview on it pops over the
top of
it.

If I do the same thing via a contextmenu it works fine, it's just the
double-click that seems to have strange behaviour.

Any ideas?

Thanks


Nov 16 '05 #3

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

Similar topics

0
by: Morten Wennevik | last post by:
Hi! I have a listview with checkable listviewitems. When doubleclicking on any item I want to launch a dialog window, but doubleclicking also causes the checkbox to be marked/unmarked. How...
9
by: C# Learner | last post by:
Has anyone else noticed ListView's unbearable flickering? I have a project containing a list-view with the following: - View: Details - Columns: 5 The following code causes the list-view...
0
by: Andrew | last post by:
If item is a ListViewItem and str is a string, why do the following two lines not have the same effect ? item.SubItems.Add(new ListViewItem.ListViewSubItem()).Text = str;...
2
by: jmp23834 | last post by:
I have a ListView object built at design time. At runtime I populate the rows and columns. The application takes data from a textbox box and updates the ListView. It all seems to work fine unitl I...
2
by: Mike | last post by:
Ok I'm having a problem with a listview. I have a listview on a WinForm called ProgramInformationFrm. I call this from from 2 other forms. One is ProgramSearch Frm, the other is OpenNCFrm. The...
4
by: firefox | last post by:
Hola Foro!, tengo una rutina que permite agregar varios elementos o items de una sola vez en un ListView. Lo que sucede es que en el momento que se añaden los items al ListView se pone todo blanco,...
12
by: garyusenet | last post by:
I have had no replies to my previous post so perhaps I didn't write it good enough. Please excuse new thread but i wanted to break from the last thread hopefully this thread will be better. ...
5
by: Todd Barlow | last post by:
Hi, When I try to set the BackgroundImage property on a ListView, the project fails to run. Sometimes a generic error message appears telling me that memory might be corrupt. Sometimes the error...
12
by: Tom Bean | last post by:
I am trying to display a ContextMenuStrip when a user right-clicks on an item in a ListView and have encountered a something that seems strange to me. When the ListView is initially populated,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...

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.