Create an interface for filtering numeric data

Create a text box that enables you to filter motor properties based on queries entered.

  1. Create the query filter text box:
    1. Right-click MainWindow (type) and select New > Base controls > Text box.
    2. Hover-over the text box, select Edit, and enter NumericFilterTextBox.
    3. In Properties, create a dynamic link between Text and ProjectName > UI > MotorNumericGrid > Query.

      For more information about dynamic links, see Create dynamic links.

    4. Set Placeholder text to SELECT * FROM Model WHERE {Conditions}.
  2. Create the query filter label:
    1. Right-click MainWindow (type) and select New > Base controls > Label.
    2. Hover-over the label, select Edit, and enter NumericFilterLabel.
    3. In Properties, set Text to Filter motors:.