Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
90
Radial Menu, Tool Focus
posted

I am developing some tools for people with disabilities and I am looking to rotate through the slices/tools on a Radial Menu under program control and to show which tool is currently selected as the program scrolls through the tools. A user with a simple button switch can click it when the item they want is reached on the radial menu, a bit like a sushi train selection.

When you hover a cursor over a radial menu slice it is highlighted with a line displaying between the inner and outer ring; this is what I am trying to achieve under program control however there is no focus property. Is there a means to highlight the slice/tools that is selected under program control.

regards

Doug

Parents
  • 21795
    Offline posted

    Hello Doug,

    When you hover with mouse over a particular tool a small arc is drawn over the tool. To set the color of this arc you need to set BorderColor2 of the InnerToolArea. You may use code like this:

    //  Get the tool you need by the tool's Key
    var highlightedTool = this.ultraRadialMenu1.FindToolsByKey("Tool to highlight").FirstOrDefault();
    if(highlightedTool != null)
    {
        //  Set the BorderColor2 of InnerToolAreaAppearance
        highlightedTool.ToolSettings.InnerToolAreaAppearance.BorderColor2 = Color.Red;
    }

    Please let me know if this is what you are looking for, or if I am missing something.

Reply Children