KEYBOARD '{TAB}'will work from code also. Just put them into some control event and you'll see. You can put it in one place and call it from anywhere - it does not depend on which control has the focus.
Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000) br>
VB (.NET) - what other language do you need in the whole Universe?...