Hi, how to set focus on a ultraToolbarsManager's tool, like button, combobox, etc?
Regards & ThanksWei Wei
Hello Wei Wei,
You could set the 'IsActiveTool' property of a tool to true. Another way would be in run-time to press the 'Alt' key which would activate the first tool, on another press the second and so on... You could take a look at the following forum thread:
http://blogs.infragistics.com/forums/t/1208.aspx.
Please feel free to let me know if I misunderstood you or if you have any other questions.
I have a ultratoolbar manager and root tools on it and that is a control which i am using on another forms.
Now when i hit ALT key it doen't activate first root tool.
For Processcmd key i write a code in Base form to focus first tool.
tbmBaseQueueCtls.Tools(0).IsActiveTool =true
but i am getting this exception.
Can't activate a root tool. Only tool instances that are in an UltraToolbar's or PopupMenuTool's Tools collection can be activated.