Forum Discussion

imrenato's avatar
imrenato
Visitor
9 years ago
Solved

How i do one double click in C# scrit?

I'm testing one application that you double click in an textbox and that allows you to insert a price. This is my script:   My function:     function SetValue(ValueGroupPerson) { var txtBoxVa...
  • HKosova's avatar
    9 years ago

    Add parentheses after ["DblClick"] in this line:

     

    txtBoxValueGroupPerson["DblClick"]();

    DblClick is a method, and JScript/C++Script/C#Script require parentheses after method names even if no parameters are specified.