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

Problem with GRID

Status
Not open for further replies.

BundaZSZ

Programmer
Sep 6, 2003
12
RO
Problem with GRID

I WANT TO LOSE THE FOCUS WHEN I PRES THE MOUSE BUTTON OVER THE FORM

Or when i leave the grid area the grid is still having the focus adn i don't want this

i tried with the command to set the focus to another object but is still the same, the cell is still selected so the grid still has the focus

the grid lose his focus only when i press a commmand button
and i don't want to press one

Tell me how can i do to lose the grd control focus when i move out the mouse from it

thanks
 
You have to decide where you want the focus to go - it's always got to be somewhere! If you don't want it on a button, where?

Rick
 
I think I saw in tastrade where they have a dummy object to get the focus away from the grid. Look at tastrade example order entry form
 
if only the grid is on the form, the focus will not go anywhere. you have to put another control that can have focus.

kilroy [trooper]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top