Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DB Grid Multiselection Problem

Status
Not open for further replies.

qwebenno

Programmer
Feb 3, 2004
1
CH
Im am having a problem in a DBGrid with row multiselection.
1. I select multiple rows in that Grid.
2. I select a Pop-Up Window with the rigth Mouse Button. The Pop-up Window covers now part of the selected DBGrid area.
3. Then i select one of the Pop-Up Menue-Items.
This action causes the row below, in the DBGrid to get unselected also!
It seems that the Mouseclick of the Pop-Up Menu is also reseived by the DBGrid Form.

Has anybody any idea how to prevent this behavior?

 
Perhaps you can catch the mouseclick in the evants of the DBGrid and test for the existence of the Pop-Up.

Henk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top