modified as tab control.