You can't give a toolbar focus. You could, for your example, toggle the .Enabled value for the save button.
>Hi,
>I have a formset with a toolbar and need to give the control of the focus to determined button (new, save, etc.) of the toolbar, according to the events that happens in the form. For example, if the user complete all the fields of the form, the focus should go to the button "save" of the toolbar.
>Somebody could help me
>Tanks in advance
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.