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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

small problem with common dialog box

Status
Not open for further replies.

99mel

Programmer
Oct 18, 1999
379
GB
Right, got this small problem with a common dialog box and a msflex grid!

A common dialog box pops up over this flexgrid! i double click on a file! problem is... it also selects the record which the mouse is over on the flex grid for some silly reason!

Any ideas on what i can do stop this?
 
You could try setting grdGrid.Enabled = False before showing the common dialog, and then re-enabling when your done with the common dialog.
Good Luck
--------------
As a circle of light increases so does the circumference of darkness around it. - Albert Einstein


 
i have that in my code but the problem still occurs
 
is the common dialog control located on the same form as the ms flexgrid? if so, farm out the commondialog to a seperate form and that should take care of the problem. this is about the physical location of the control.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top