how to set focus for cell in msflexgrid in vb

November 29, 2010 at 20:56:47
Specs: Windows XP
hi i'm creating one vb application. i need to navigate from one cell to another cell in msflexgrid while i'm entering data in it. is it possible? if possible, pleaes send me the coding. and also i need to set some cell values according to the previouse cell values. i did that coding. but the problem is, if i select the cell, onl,y it displalying its value calculated by previous cells. i need to set whenevr the previouse cells have the value.

Thanks in advance& regards


See More: how to set focus for cell in msflexgrid in vb

Report •

November 29, 2010 at 21:55:21
I am not quite sure of that you are trying to do but you need to be looking at the EnterCell, LeaveCell and RowColChange events. They should be able to do what you need.

You address a particular cell with command MSFlexGrid1.TextMatrix (Row.Col)

To give a particular;ar cell focus set the MSFlexGrid1.row and MSFlexGrid1.col to the co-ordinates of the required cell.


Report •
Related Solutions

Ask Question