Gerard,
Try this code in your Control.WHEN
IF NOT MDOWN()
IF LASTKEY() = 9 OR LASTKEY() = 19 OR LASTKEY() = 4
RETURN .F.
ENDIF
ENDIF
Hope it helps.
Ivan
>Hi Ivan.
>Will that not 'PERMANENTLY' lock me out. ??
>I dont want the column coming up in tab sequence but I do want to be able to click into it, if required only.
>Gerard
>
>
>
>>>Hi.
>>>I have a Gris with a few columns, and I want the default behaviour of some of the columns to be Tbastop = .f., so the user should not land in them.
>>>
>>>I notice there is not a Tabstop control for the column itselef, so I set the Tabstop of the Control in the column to .F., however, the user still lands in the column, and the TabStop propert seems to make no diffeence.
>>>
>>>Is there a way of 'Jumping' over a column ?
>>>
>>>Regards,
>>>Gerard
>>
>>
>>Hi Gerard.
>>
>>Have you tried RETURN .F. in the column WHEN event?
Ivan