Keypress for keyboard arrow keys

G

Guest

Hi,
I have a MS flexgrid control on a form, and superimposing a subform over the
cell to allow editing. The subform sizes to the cell, and enables either a
textbox or combobox depending on the flex cell.

All this works fine, however when the user thinks a flexgrid cell has the
focus (But it is actually my subform with the focus), controls like arrow
keys and page up / down no longer navigate around the flexgrid.

I would like this functionality but I can't trap these keys with keypress
events, but this is only for ANSI key values. My logic is to catch these, and
then manipulate the positioning on the main flexgrid accordingly.

Is there any way to trap arrow keys / page up / page down? Or any other
ideas to allow navigation?

Thanks in advance

swas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top