simulate a enter key behaviour?

G

Guest

Hi everyone

i don´t know if this is possible.
i have a group of textboxes that on tab/enter key the cursor moves to the
next box.
my problem is that i have a group of frames and i want that on
me.textboxgroup in frame1 the cursor "move" to me.textboxgroup on frame2.

i have made:
while flag=0
if isntr(me.textboxgroup.name,"BOX")=0
'-----here is the code i want for keycode=enter and jump to the private sub
textbox_keypress() again - to jump for the next textbox

wend

is this possible, to simulate a enter key and jump to the keypress sub???

thanks very much
Miguel
 

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