Alan,
Use the BeforeCellEdit() method in the control and add:
This.CancelEdit
Keyboard '{tab}'
*
Return
This will cancel the edit and tab you to the next control. Obviously you
need to set up the correct number of tabs to go to a specific control. I've
just looked and you can't seem to be able to force a setfocus() to any
native VFP control, but I'll keep looking.
Dave Crozier
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Alan Bourke
Sent: 13 December 2006 15:06
To: [email protected]
Subject: SetFocus from ActiveX control event.
I've got a VFP9 form with the DBI Technologies CTGrid control on it.
>From that control's CellClick event I want to SetFocus to another
control on the form. The other control is dervied from a container
parent class which has two textboxes in it. I'm trying to SetFocus to
one of the TextBoxes, but it doesn't work. Has anyone got any
suggestions ?
TIA ...
--
Alan Bourke
[EMAIL PROTECTED]
--
http://www.fastmail.fm - Faster than the air-speed velocity of an
unladen european swallow
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.