i have a form that has a msflexgrid I also have a button on the form, what code could i use to make the cell that the mouse pointer is over get focus when this button is pushed
thanks for any help
Printable View
i have a form that has a msflexgrid I also have a button on the form, what code could i use to make the cell that the mouse pointer is over get focus when this button is pushed
thanks for any help
If you click a button then your pointer won't be over a Grid anymore. But if you have a button with a default property set to True, then you can use Enter to execute it. Use MouseCol and MmouseRow porperties to determine which cell your mouse pointer is over.