thanks for your reply. the problem is: when the controlbar if floating,the toolbar is grayed and doesn't work. Only when the controlbar is in docking state,the toolbar will work well. I don't know what the matter, please help me. thouthands of thanks