Hey guys,
I have a TreeView in which i am usign the DoubleClick event handler.
The first time i double click on the grid (this happens everytime the grid is repopulated as well)
the event does not register. For example if i double click on a checkbox (single click will not due anything as i have the BeforeCheck event handler cancel the event ) but the double click still checks it yet the DoubleClick event does not register the first time.
The second time and everytime after that it will register it.
I also have a similar problem with right click and context menu. The first time i right click nothing happens but everytime after that the context menu is launched.
I am thinking it might have to do something with jsut in time compiling but i have never seen anything like this before. Anyone have any ideas on what it could be?
nnobakht 0 Light Poster
Recommended Answers
Jump to PostCan you show some code? its possible its not doing it when you think..
Jump to PostHmm, Im wondering, if perhaps it shouldnt be in initializeComponent, but, after, maybe in form load..
All 8 Replies
LizR 171 Posting Virtuoso
nnobakht 0 Light Poster
LizR 171 Posting Virtuoso
nnobakht 0 Light Poster
LizR 171 Posting Virtuoso
nnobakht 0 Light Poster
LizR 171 Posting Virtuoso
wilsotc 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.