>>I have a form with a 5 tab pageframe and I want to use a hot key combo like alt+1, alt+2, alt+3, etc... to move between tabs. When I set on key to a method on the form that will do the switching, it says it can't call a method on the form.
>>
>>Anybody have a way around this?
>>
>>Thanks
>
>Why don't you add a short cut to the tab's caption, like \
, , , , .
>
>Regards,
In all of my forms that have pageframes I capture keystrokes and have the combination of CTRL-TAB move between tabs in order by adding one to the activepage property of the pageframe. Most of my pageframes are dynamically created though and the former suggestion is probably the best.
Larry Wainwright.